[FIR] Implement VERSION_REQUIREMENT_DEPRECATION diagnostics
This commit is contained in:
committed by
Space Team
parent
65ea9697ab
commit
09f895efe6
+5
-2
@@ -1,5 +1,8 @@
|
||||
// !LANGUAGE: +TypeAliases
|
||||
// !API_VERSION: 1.0
|
||||
// IGNORE_DIAGNOSTIC_API
|
||||
// IGNORE_REVERSED_RESOLVE
|
||||
// ^KT-60996
|
||||
// FILE: test.kt
|
||||
val fooException = Exception("foo")
|
||||
val barException = kotlin.Exception("bar")
|
||||
val fooException = <!API_NOT_AVAILABLE!>Exception<!>("foo")
|
||||
val barException = kotlin.<!API_NOT_AVAILABLE!>Exception<!>("bar")
|
||||
|
||||
+3
@@ -1,5 +1,8 @@
|
||||
// !LANGUAGE: +TypeAliases
|
||||
// !API_VERSION: 1.0
|
||||
// IGNORE_DIAGNOSTIC_API
|
||||
// IGNORE_REVERSED_RESOLVE
|
||||
// ^KT-60996
|
||||
// FILE: test.kt
|
||||
val fooException = Exception("foo")
|
||||
val barException = kotlin.<!UNRESOLVED_REFERENCE!>Exception<!>("bar")
|
||||
|
||||
Reference in New Issue
Block a user