[JS IR] Add IC invalidation tests
This commit is contained in:
committed by
Space
parent
210cc67041
commit
28b1f1c50f
@@ -0,0 +1,11 @@
|
||||
class BoxProducer: Producer<String> {
|
||||
override fun produce() = "test"
|
||||
}
|
||||
|
||||
class BoxConsumer: Consumer<String> {
|
||||
override fun consume(s: String) = s.length
|
||||
}
|
||||
|
||||
fun test(producer: Producer<String>, consumer: Consumer<String>) = consumer.consume(producer.produce())
|
||||
|
||||
fun box() = test(BoxProducer(), BoxConsumer())
|
||||
@@ -0,0 +1,7 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib, lib1
|
||||
dirty: m.kt
|
||||
STEP 1:
|
||||
dependencies: stdlib, lib1
|
||||
STEP 2:
|
||||
dependencies: stdlib, lib1
|
||||
Reference in New Issue
Block a user