[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
-68
@@ -1,68 +0,0 @@
|
||||
package ann
|
||||
|
||||
annotation class Test1<T : Any?> : Annotation {
|
||||
constructor(x: Int) /* primary */
|
||||
val x: Int
|
||||
field = x
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
annotation class Test2<T1 : Any, T2 : Any?> : Annotation {
|
||||
constructor(x: Int = 0) /* primary */
|
||||
val x: Int
|
||||
field = x
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
interface I<T : Any?> {
|
||||
|
||||
}
|
||||
|
||||
annotation class Test3<T1 : Any?, T2 : I<T1>> : Annotation {
|
||||
constructor(x: Test1<I<T2>>) /* primary */
|
||||
val x: Test1<I<T2>>
|
||||
field = x
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
class C<T : Any?> : I<T> {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
annotation class Test4 : Annotation {
|
||||
constructor(x: Test3<String, C<String>>) /* primary */
|
||||
val x: Test3<String, C<String>>
|
||||
field = x
|
||||
get
|
||||
|
||||
}
|
||||
|
||||
class ARG {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Test1(x = 42)
|
||||
@Test2(x = 38)
|
||||
@Test3(x = Test1<I<I<Any?>>>(x = 39))
|
||||
@Test4(x = Test3<String, C<String>>(x = Test1<I<C<String>>>(x = 40)))
|
||||
class CC {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user