mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Fix spacing
This commit is contained in:
@@ -35,6 +35,8 @@ open class KotlinFileExtractor(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
fun getLabel(element: IrElement) : String? {
|
||||
when (element) {
|
||||
is IrFile -> return "@\"${element.path};sourcefile\"" // todo: remove copy-pasted code
|
||||
|
||||
@@ -612,7 +612,6 @@ class X {
|
||||
extractClassSupertypes(c.superTypes, c.typeParameters, id, typeArgsQ)
|
||||
}
|
||||
|
||||
|
||||
fun extractClassSupertypes(superTypes: List<IrType>, typeParameters: List<IrTypeParameter>, id: Label<out DbReftype>, typeArgsQ: List<IrTypeArgument>? = null) {
|
||||
// Note we only need to substitute type args here because it is illegal to directly extend a type variable.
|
||||
// (For example, we can't have `class A<E> : E`, but can have `class A<E> : Comparable<E>`)
|
||||
|
||||
@@ -68,7 +68,6 @@ open class TrapWriter (protected val lm: TrapLabelManager, private val bw: Buffe
|
||||
return maybeLabel
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* It is not easy to assign keys to local variables, so they get
|
||||
* given `*` IDs. However, the same variable may be referred to
|
||||
|
||||
Reference in New Issue
Block a user