FIR: introduce delegate diagnostics
This commit adds diagnostics for the following * DELEGATE_SPECIAL_FUNCTION_MISSING * DELEGATE_SPECIAL_FUNCTION_AMBIGUITY * DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE
This commit is contained in:
committed by
Mikhail Glukhikh
parent
454ae3b17a
commit
b5caa658d6
+1
-1
@@ -8,7 +8,7 @@ class Delegate {
|
||||
fun foo(): Int {
|
||||
val prop: Int by Delegate()
|
||||
|
||||
val prop2: Int by <!UNRESOLVED_REFERENCE!>123<!>
|
||||
val prop2: Int by <!DELEGATE_SPECIAL_FUNCTION_MISSING!>123<!>
|
||||
|
||||
val obj = object {
|
||||
fun v(): Int {
|
||||
|
||||
Reference in New Issue
Block a user