"Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: 'infix' modifier is inapplicable on this function
|
||||
|
||||
class Foo {
|
||||
infix fun foo(x: Int = 0, y: Int = 0) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user