More precise diagnostic messages about "operator modifier is not applicable"

This commit is contained in:
Yan Zhulanow
2015-12-25 18:37:36 +03:00
parent 3fa506fd45
commit 0304bd1dc1
9 changed files with 163 additions and 90 deletions
@@ -1,3 +1,4 @@
// IS_APPLICABLE: false
// ERROR: 'infix' modifier is inapplicable on this function
infix fun id(s: String) = s
val x = <caret>id("0").get(0)