Check presence of dispatch receiver parameter in modifier checks
Also fix typo in "inapplicable infix" diagnostic message
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: 'infix' modifier is inapplicable on this function: must be a member of an extension function
|
||||
// ERROR: 'infix' modifier is inapplicable on this function: must be a member or an extension function
|
||||
infix fun id(s: String) = s
|
||||
val x = <caret>id("0").get(0)
|
||||
val x = <caret>id("0").get(0)
|
||||
|
||||
Reference in New Issue
Block a user