KT-2260 test for non reproducable (probably obsolete) issue
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
trait Flusher {
|
||||
fun flush() = "OK"
|
||||
}
|
||||
|
||||
fun myFlusher() = object : Flusher { }
|
||||
|
||||
fun flushIt(flusher: Flusher) = flusher.flush()
|
||||
|
||||
fun box() = flushIt(myFlusher())
|
||||
@@ -69,6 +69,10 @@ public class TraitsTest extends CodegenTestCase {
|
||||
blackBoxFile("regressions/kt2541.kt");
|
||||
}
|
||||
|
||||
public void testKt2260() {
|
||||
blackBoxFile("regressions/kt2260.kt");
|
||||
}
|
||||
|
||||
public void testFinalMethod() throws Exception {
|
||||
blackBoxFile("traits/finalMethod.jet");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user