[FIR] Improve diagnostic reporting & don't use error symbol for candidate if possible
Also introduce few new diagnostics: - NONE_APPLICABLE more many inapplicable candidates - HIDDEN for visible candidates
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5c0528b61e
commit
f283f2db43
-8
@@ -1,8 +0,0 @@
|
||||
package c
|
||||
|
||||
fun demo() {
|
||||
val bar = 51
|
||||
fun map(f : <!SYNTAX!><!SYNTAX!><!>fun<!>
|
||||
val foo = 3;
|
||||
bar <!INAPPLICABLE_CANDIDATE!>+<!> map { foo }
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
package c
|
||||
|
||||
fun demo() {
|
||||
|
||||
Reference in New Issue
Block a user