[FIR] Save IR dumps to .ir.txt files instead of .txt in tests
This is needed to avoid clashes between different dumps from different handlers
This commit is contained in:
committed by
TeamCityServer
parent
0f076e16ed
commit
b454fcc1e0
@@ -1,18 +0,0 @@
|
||||
fun foo(): Any {
|
||||
return 1
|
||||
}
|
||||
|
||||
fun test(): Int {
|
||||
return { // BLOCK
|
||||
val y: Any = foo()
|
||||
when {
|
||||
EQEQ(arg0 = y, arg1 = 42) -> 1
|
||||
y is String -> y /*as String */.<get-length>()
|
||||
y !is Int -> 2
|
||||
error("") /* ErrorCallExpression */y; -> 3
|
||||
error("") /* ErrorCallExpression */y; .not() -> 4
|
||||
else -> -1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user