Rework checking constraints by presented OnlyInputTypes annotation in accordance with changed incorporation mechanism

This commit is contained in:
Victor Petukhov
2020-11-19 12:42:04 +03:00
parent 0857b9c9e7
commit 04846ca47a
9 changed files with 86 additions and 20 deletions
@@ -0,0 +1,6 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
fun isImportedByDefault(c: String?, x: Set<Int>) = c?.let { it.toInt() } in x
fun box(): String = "OK"