Fix compilation

This commit is contained in:
Dmitry Gridin
2020-02-14 12:51:51 +07:00
committed by Pavel Kirpichenkov
parent 1c945430bc
commit 238bfe3771
2 changed files with 2 additions and 2 deletions
@@ -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) {