[FIR] Make UNSAFE_INFIX_CALL and UNSAFE_OPERATOR_CALL parameter nullable
This fixes an NPE in the IDE in presence of a syntax error when the argument expression has no source. #KT-64062 Fixed
This commit is contained in:
committed by
Space Team
parent
b059754f64
commit
8496722603
+3
@@ -0,0 +1,3 @@
|
||||
fun add(a: Int?, b: Int?): Int {
|
||||
return a<!UNSAFE_OPERATOR_CALL!>+<!><!SYNTAX!><!>
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
fun add(a: Int?, b: Int?): Int {
|
||||
return a<!NONE_APPLICABLE!>+<!><!SYNTAX!><!>
|
||||
}
|
||||
Reference in New Issue
Block a user