Fix spacing

This commit is contained in:
Tamas Vajk
2021-12-02 21:15:37 +01:00
committed by Ian Lynagh
parent 05f22576d1
commit 2f06c9c03f
3 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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>`)

View File

@@ -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