FIR: set isOperator only for Java methods with appropriate names

#KT-35133 Fixed
This commit is contained in:
Mikhail Glukhikh
2020-02-18 11:10:07 +03:00
parent cbbbf40b90
commit e051251b27
141 changed files with 345 additions and 341 deletions
@@ -1,11 +1,11 @@
public open class Annotated : R|kotlin/Any| {
@R|org/jetbrains/annotations/NotNull|() public open operator fun foo(@R|org/jetbrains/annotations/Nullable|() param: R|kotlin/String?|): R|kotlin/String|
@R|org/jetbrains/annotations/NotNull|() public open fun foo(@R|org/jetbrains/annotations/Nullable|() param: R|kotlin/String?|): R|kotlin/String|
public constructor(): R|Annotated|
}
public open class AnnotatedDerived : R|Annotated| {
public open operator fun foo(param: R|kotlin/String?|): R|kotlin/String|
public open fun foo(param: R|kotlin/String?|): R|kotlin/String|
public constructor(): R|AnnotatedDerived|