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())
|
||||
Reference in New Issue
Block a user