mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Erasure: produce raw types, not unbound types
This affects the trap labels for methods, and therefore consistency with the Java extractor. TODO: check whether we can unify `erase` and `toRawType` entirely.
This commit is contained in:
committed by
Ian Lynagh
parent
97d44d9583
commit
db9ab22437
@@ -320,7 +320,7 @@ open class KotlinFileExtractor(
|
||||
}
|
||||
}
|
||||
|
||||
// `typeArgs` can be null to describe a raw generic type.
|
||||
// `argsIncludingOuterClasses` can be null to describe a raw generic type.
|
||||
// For non-generic types it will be zero-length list.
|
||||
fun extractMemberPrototypes(c: IrClass, argsIncludingOuterClasses: List<IrTypeArgument>?, id: Label<out DbClassorinterface>) {
|
||||
with("member prototypes", c) {
|
||||
|
||||
Reference in New Issue
Block a user