Fix IR tests for 1.3
This commit is contained in:
@@ -4,7 +4,7 @@ operator fun A.plusAssign(s: String) {}
|
||||
operator fun A.minusAssign(s: String) {}
|
||||
operator fun A.timesAssign(s: String) {}
|
||||
operator fun A.divAssign(s: String) {}
|
||||
operator fun A.modAssign(s: String) {}
|
||||
operator fun A.remAssign(s: String) {}
|
||||
|
||||
val p = A()
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ FILE fqName:<root> fileName:/augmentedAssignment2.kt
|
||||
$receiver: VALUE_PARAMETER name:<this> type:A flags:
|
||||
VALUE_PARAMETER name:s index:0 type:kotlin.String flags:
|
||||
BLOCK_BODY
|
||||
FUN name:modAssign visibility:public modality:FINAL <> ($receiver:A, s:kotlin.String) returnType:kotlin.Unit flags:
|
||||
FUN name:remAssign visibility:public modality:FINAL <> ($receiver:A, s:kotlin.String) returnType:kotlin.Unit flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:A flags:
|
||||
VALUE_PARAMETER name:s index:0 type:kotlin.String flags:
|
||||
BLOCK_BODY
|
||||
@@ -63,7 +63,7 @@ FILE fqName:<root> fileName:/augmentedAssignment2.kt
|
||||
CALL 'divAssign(String) on A: Unit' type=kotlin.Unit origin=DIVEQ
|
||||
$receiver: GET_VAR 'a: A' type=A origin=DIVEQ
|
||||
s: CONST String type=kotlin.String value=/=
|
||||
CALL 'modAssign(String) on A: Unit' type=kotlin.Unit origin=PERCEQ
|
||||
CALL 'remAssign(String) on A: Unit' type=kotlin.Unit origin=PERCEQ
|
||||
$receiver: GET_VAR 'a: A' type=A origin=PERCEQ
|
||||
s: CONST String type=kotlin.String value=*=
|
||||
FUN name:testProperty visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
@@ -85,7 +85,7 @@ FILE fqName:<root> fileName:/augmentedAssignment2.kt
|
||||
$receiver: CALL '<get-p>(): A' type=A origin=DIVEQ
|
||||
s: CONST String type=kotlin.String value=/=
|
||||
BLOCK type=kotlin.Unit origin=PERCEQ
|
||||
CALL 'modAssign(String) on A: Unit' type=kotlin.Unit origin=PERCEQ
|
||||
CALL 'remAssign(String) on A: Unit' type=kotlin.Unit origin=PERCEQ
|
||||
$receiver: CALL '<get-p>(): A' type=A origin=PERCEQ
|
||||
s: CONST String type=kotlin.String value=%=
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ enum class Z {
|
||||
ENTRY {
|
||||
fun test() {}
|
||||
|
||||
class A {
|
||||
inner class A {
|
||||
fun test2() {
|
||||
test()
|
||||
}
|
||||
|
||||
+3
-2
@@ -19,9 +19,10 @@ FILE fqName:<root> fileName:/enumEntry.kt
|
||||
FUN name:test visibility:public modality:FINAL <> ($this:Z.ENTRY) returnType:kotlin.Unit flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:Z.ENTRY flags:
|
||||
BLOCK_BODY
|
||||
CLASS CLASS name:A modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
CLASS CLASS name:A modality:FINAL visibility:public flags:inner superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Z.ENTRY.A flags:
|
||||
CONSTRUCTOR visibility:public <> () returnType:Z.ENTRY.A flags:primary
|
||||
CONSTRUCTOR visibility:public <> ($this:Z.ENTRY) returnType:Z.ENTRY.A flags:primary
|
||||
$outer: VALUE_PARAMETER name:<this> type:Z.ENTRY flags:
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='A'
|
||||
|
||||
Reference in New Issue
Block a user