Fix compilation
This commit is contained in:
committed by
Pavel Kirpichenkov
parent
1c945430bc
commit
238bfe3771
+1
-1
@@ -47,7 +47,7 @@ abstract class AbstractIrLineNumberTest : AbstractLineNumberTest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun visitLabel(label: Label) {
|
override fun visitLabel(label: Label) {
|
||||||
if (lastLabel != null && !labels2LineNumbers.containsKey(lastLabel) && lastLine >= 0) {
|
if (lastLabel != null && !labels2LineNumbers.containsKey(lastLabel!!) && lastLine >= 0) {
|
||||||
labels2LineNumbers[lastLabel!!] = lastLine.toString() // Inherited line number
|
labels2LineNumbers[lastLabel!!] = lastLine.toString() // Inherited line number
|
||||||
}
|
}
|
||||||
lastLabel = label
|
lastLabel = label
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ abstract class AbstractFirPsiCheckerTest : AbstractPsiCheckerTest() {
|
|||||||
throw FileComparisonFailure(e.message, e.expected, e.actual, File(e.filePath).absolutePath)
|
throw FileComparisonFailure(e.message, e.expected, e.actual, File(e.filePath).absolutePath)
|
||||||
} else {
|
} else {
|
||||||
// Here we just check that we haven't crashed due to exception
|
// Here we just check that we haven't crashed due to exception
|
||||||
0
|
0L
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
if (configured) {
|
if (configured) {
|
||||||
|
|||||||
Reference in New Issue
Block a user