K2 Scripting: enable script diagnostic tests for FIR
also add script scopes test
This commit is contained in:
committed by
Space Team
parent
a3a1550933
commit
47448d779c
@@ -0,0 +1,11 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
||||
|
||||
var b = true
|
||||
|
||||
if (b) {
|
||||
val x = 3
|
||||
}
|
||||
|
||||
val y = <!UNRESOLVED_REFERENCE!>x<!>
|
||||
|
||||
Reference in New Issue
Block a user