[FIR] Add INAPPLICABLE_OPERATOR_MODIFIER diagnostic
This commit is contained in:
committed by
TeamCityServer
parent
16f41bd80c
commit
1cd321a90f
+2
-2
@@ -12,7 +12,7 @@ fun case1() {
|
||||
|
||||
class Case1() {
|
||||
|
||||
operator fun inc(): B {
|
||||
<!INAPPLICABLE_OPERATOR_MODIFIER!>operator<!> fun inc(): B {
|
||||
TODO()
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ fun case2() {
|
||||
class Case2() : C() {
|
||||
var i = 0
|
||||
|
||||
operator fun inc(): C {
|
||||
<!INAPPLICABLE_OPERATOR_MODIFIER!>operator<!> fun inc(): C {
|
||||
TODO()
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ fun case1() {
|
||||
|
||||
class Case1() {
|
||||
|
||||
operator fun dec(): B {
|
||||
<!INAPPLICABLE_OPERATOR_MODIFIER!>operator<!> fun dec(): B {
|
||||
TODO()
|
||||
}
|
||||
}
|
||||
@@ -29,7 +29,7 @@ fun case2() {
|
||||
class Case2() : C() {
|
||||
var i = 0
|
||||
|
||||
operator fun dec(): C {
|
||||
<!INAPPLICABLE_OPERATOR_MODIFIER!>operator<!> fun dec(): C {
|
||||
TODO()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user