[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:
Dmitriy Novozhilov
2021-10-01 12:31:45 +03:00
committed by TeamCityServer
parent 0f076e16ed
commit b454fcc1e0
1175 changed files with 1678 additions and 2577 deletions
@@ -1,5 +1,5 @@
fun interface IRunnable {
abstract fun run()
abstract fun run()
}
@@ -53,4 +53,3 @@ fun test(fn: Function0<Unit>, r: IRunnable, s: String, arr: Array<String>) {
}
/*-> IRunnable */, s = [*arr])
}
@@ -1,5 +1,5 @@
fun interface Foo {
abstract fun invoke(): String
abstract fun invoke(): String
}
@@ -13,4 +13,3 @@ fun test(): String {
}
/*-> Foo */)
}
@@ -1,5 +1,5 @@
fun interface KRunnable {
abstract fun invoke()
abstract fun invoke()
}
@@ -7,4 +7,3 @@ fun test(a: Any?) {
a as Function0<Unit> /*~> Unit */
a /*as Function0<Unit> */ /*-> KRunnable */.invoke()
}
@@ -1,5 +1,5 @@
fun interface Fn<T : Any?, R : Any?> {
abstract fun run(s: String, i: Int, t: T): R
abstract fun run(s: String, i: Int, t: T): R
}
@@ -64,4 +64,3 @@ fun test(j: J) {
}
/*-> Fn<String, Int> */, f2 = <get-fis>()) /*~> Unit */
}
@@ -1,5 +1,5 @@
fun interface IFoo {
abstract fun foo(i: Int)
abstract fun foo(i: Int)
}
@@ -39,4 +39,3 @@ fun testAdaptedCR() {
::withVarargOfInt /*-> IFoo */
}])
}
@@ -1,5 +1,5 @@
fun interface MyRunnable {
abstract fun run()
abstract fun run()
}
@@ -16,4 +16,3 @@ fun test(a: Any, r: MyRunnable) {
fun foo(vararg rs: MyRunnable) {
}
@@ -1,5 +1,5 @@
fun interface KRunnable {
abstract fun run()
abstract fun run()
}
@@ -40,4 +40,3 @@ fun testSamConversionOnAdapted() {
::foo1 /*-> KRunnable */
})
}
@@ -1,5 +1,5 @@
fun interface KRunnable {
abstract fun run()
abstract fun run()
}
@@ -75,4 +75,3 @@ fun test8(a: Function0<Unit>) {
fun test9() {
run1(r = ::test9 /*-> KRunnable */)
}