Drop excessive lowerings that are replaced by ConstEvaluationLowering

This commit is contained in:
Ivan Kylchik
2021-12-15 17:32:36 +03:00
parent 0f0b48f87b
commit dca22d745a
7 changed files with 8 additions and 121 deletions
@@ -15,4 +15,4 @@ const val stringClassName = ::String.name
const val lengthPropName = String::length.name
const val errorAccess = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>SomeClassWithName(1)::property.name<!>
const val errorPlus = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>"" + ::SomeClassWithName.<!UNRESOLVED_REFERENCE!>property<!><!>
const val errorPlus = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>"" + SomeClassWithName(1)::property<!>
@@ -15,4 +15,4 @@ const val stringClassName = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>::String.nam
const val lengthPropName = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>String::length.name<!>
const val errorAccess = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>SomeClassWithName(1)::property.name<!>
const val errorPlus = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>"" + ::SomeClassWithName.property<!>
const val errorPlus = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>"" + SomeClassWithName(1)::property<!>
@@ -4,6 +4,7 @@ public const val anotherPropName: kotlin.String
public const val barName: kotlin.String
public const val className: kotlin.String
public const val errorAccess: kotlin.String
public const val errorPlus: kotlin.String
public const val fooName: kotlin.String
public const val lengthPropName: kotlin.String
public const val propName: kotlin.String