mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
WIP: revert some annotation extraction to get proper tree in printast
This commit is contained in:
committed by
Chris Smowton
parent
fed770fcd1
commit
df595c05f2
@@ -238,7 +238,7 @@ open class KotlinFileExtractor(
|
||||
addModifiers(id, "out")
|
||||
}
|
||||
|
||||
extractAnnotations(tp, id)
|
||||
//extractAnnotations(tp, id)
|
||||
return id
|
||||
}
|
||||
}
|
||||
@@ -820,7 +820,7 @@ open class KotlinFileExtractor(
|
||||
extractTypeAccessRecursive(substitutedType, location, id, -1)
|
||||
}
|
||||
val syntheticParameterNames = isUnderscoreParameter(vp) || ((vp.parent as? IrFunction)?.let { hasSynthesizedParameterNames(it) } ?: true)
|
||||
extractAnnotations(vp, id)
|
||||
//extractAnnotations(vp, id)
|
||||
return extractValueParameter(id, substitutedType, vp.name.asString(), location, parent, idx, useValueParameter(vp, parentSourceDeclaration), syntheticParameterNames, vp.isVararg, vp.isNoinline, vp.isCrossinline)
|
||||
}
|
||||
}
|
||||
@@ -1360,7 +1360,7 @@ open class KotlinFileExtractor(
|
||||
|
||||
linesOfCode?.linesOfCodeInDeclaration(f, id)
|
||||
|
||||
extractAnnotations(f, id)
|
||||
//extractAnnotations(f, id)
|
||||
|
||||
return id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user