K2 opt-in: fix reporting of WasExperimental-bound errors

This commit is contained in:
Mikhail Glukhikh
2022-11-22 11:08:54 +01:00
committed by Space Team
parent f62bdb0e3d
commit 3e22f6c052
5 changed files with 36 additions and 23 deletions
@@ -9,6 +9,6 @@ data class Some(val duration: Duration = Duration.INFINITE)
fun foo(duration: Duration = Duration.INFINITE) {}
fun test() {
Some()
foo()
<!OPT_IN_USAGE_ERROR!>Some<!>()
<!OPT_IN_USAGE_ERROR!>foo<!>()
}