Fix test failures

This commit is contained in:
Roman Artemev
2018-06-15 15:34:29 +03:00
committed by Roman Artemev
parent e37cbe51d2
commit 960fba3c4e
8 changed files with 16 additions and 16 deletions
@@ -370,7 +370,7 @@ FILE fqName:<root> fileName:/dataClassWithArrayMembers.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test1 flags:val
TYPE_OP type=Test1 origin=CAST typeOperand=Test1
TYPE_OP type=Test1 origin=IMPLICIT_CAST typeOperand=Test1
typeOperand: CLASS CLASS name:Test1 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -552,7 +552,7 @@ FILE fqName:<root> fileName:/dataClassWithArrayMembers.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test2<T> flags:val
TYPE_OP type=Test2<T> origin=CAST typeOperand=Test2<T>
TYPE_OP type=Test2<T> origin=IMPLICIT_CAST typeOperand=Test2<T>
typeOperand: CLASS CLASS name:Test2 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -661,7 +661,7 @@ FILE fqName:<root> fileName:/dataClassWithArrayMembers.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test3 flags:val
TYPE_OP type=Test3 origin=CAST typeOperand=Test3
TYPE_OP type=Test3 origin=IMPLICIT_CAST typeOperand=Test3
typeOperand: CLASS CLASS name:Test3 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
+3 -3
View File
@@ -151,7 +151,7 @@ FILE fqName:<root> fileName:/dataClasses.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test1 flags:val
TYPE_OP type=Test1 origin=CAST typeOperand=Test1
TYPE_OP type=Test1 origin=IMPLICIT_CAST typeOperand=Test1
typeOperand: CLASS CLASS name:Test1 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -279,7 +279,7 @@ FILE fqName:<root> fileName:/dataClasses.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test2 flags:val
TYPE_OP type=Test2 origin=CAST typeOperand=Test2
TYPE_OP type=Test2 origin=IMPLICIT_CAST typeOperand=Test2
typeOperand: CLASS CLASS name:Test2 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -503,7 +503,7 @@ FILE fqName:<root> fileName:/dataClasses.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test3 flags:val
TYPE_OP type=Test3 origin=CAST typeOperand=Test3
TYPE_OP type=Test3 origin=IMPLICIT_CAST typeOperand=Test3
typeOperand: CLASS CLASS name:Test3 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
+4 -4
View File
@@ -96,7 +96,7 @@ FILE fqName:<root> fileName:/dataClassesGeneric.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test1<T> flags:val
TYPE_OP type=Test1<T> origin=CAST typeOperand=Test1<T>
TYPE_OP type=Test1<T> origin=IMPLICIT_CAST typeOperand=Test1<T>
typeOperand: CLASS CLASS name:Test1 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -197,7 +197,7 @@ FILE fqName:<root> fileName:/dataClassesGeneric.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test2<T> flags:val
TYPE_OP type=Test2<T> origin=CAST typeOperand=Test2<T>
TYPE_OP type=Test2<T> origin=IMPLICIT_CAST typeOperand=Test2<T>
typeOperand: CLASS CLASS name:Test2 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -298,7 +298,7 @@ FILE fqName:<root> fileName:/dataClassesGeneric.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test3<T> flags:val
TYPE_OP type=Test3<T> origin=CAST typeOperand=Test3<T>
TYPE_OP type=Test3<T> origin=IMPLICIT_CAST typeOperand=Test3<T>
typeOperand: CLASS CLASS name:Test3 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -395,7 +395,7 @@ FILE fqName:<root> fileName:/dataClassesGeneric.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test4 flags:val
TYPE_OP type=Test4 origin=CAST typeOperand=Test4
TYPE_OP type=Test4 origin=IMPLICIT_CAST typeOperand=Test4
typeOperand: CLASS CLASS name:Test4 modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -90,7 +90,7 @@ FILE fqName:<root> fileName:/lambdaInDataClassDefaultParameter.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:A flags:val
TYPE_OP type=A origin=CAST typeOperand=A
TYPE_OP type=A origin=IMPLICIT_CAST typeOperand=A
typeOperand: CLASS CLASS name:A modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -211,7 +211,7 @@ FILE fqName:<root> fileName:/lambdaInDataClassDefaultParameter.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:B flags:val
TYPE_OP type=B origin=CAST typeOperand=B
TYPE_OP type=B origin=IMPLICIT_CAST typeOperand=B
typeOperand: CLASS CLASS name:B modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -133,7 +133,7 @@ FILE fqName:<root> fileName:/dataClassMembers.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:Test<T> flags:val
TYPE_OP type=Test<T> origin=CAST typeOperand=Test<T>
TYPE_OP type=Test<T> origin=IMPLICIT_CAST typeOperand=Test<T>
typeOperand: CLASS CLASS name:Test modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -116,7 +116,7 @@ FILE fqName:<root> fileName:/destructuringInLambda.kt
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value=false
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:A flags:val
TYPE_OP type=A origin=CAST typeOperand=A
TYPE_OP type=A origin=IMPLICIT_CAST typeOperand=A
typeOperand: CLASS CLASS name:A modality:FINAL visibility:public flags:data
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
WHEN type=kotlin.Unit origin=null
@@ -139,7 +139,7 @@
@0:0..4:1 RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
@0:0..4:1 CONST Boolean type=kotlin.Boolean value=false
@0:0..4:1 VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:C flags:val
@0:0..4:1 TYPE_OP type=C origin=CAST typeOperand=C
@0:0..4:1 TYPE_OP type=C origin=IMPLICIT_CAST typeOperand=C
@0:0..4:1 GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
@0:0..4:1 WHEN type=kotlin.Unit origin=null
@0:0..4:1 BRANCH
@@ -1,4 +1,4 @@
// EXPECTED_REACHABLE_NODES: 1108
// EXPECTED_REACHABLE_NODES: 1232
package foo