Update bytecode text tests for JVM_IR

This commit is contained in:
Dmitry Petrov
2020-02-18 18:00:58 +03:00
parent aac72871e7
commit 0b9b1b6945
35 changed files with 89 additions and 112 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class Foo {
private companion object {
lateinit var x: String
@@ -21,5 +20,10 @@ class Foo {
fun consume(s: String) {}
// JVM_TEMPLATES
// There's 1 assertion in Foo.Companion.getX, and 4 in Foo.test2 (see KT-28331)
// 5 throwUninitializedPropertyAccessException
// JVM_IR_TEMPLATES
// JVM_IR invokes getX() (as suggested in KT-28331)
// 1 throwUninitializedPropertyAccessException