Add 'operator' Intention: Support header/impl functions

#KT-18851 Fixed
This commit is contained in:
Alexey Sedunov
2017-08-10 19:04:07 +03:00
parent cd5c382179
commit d3a9d122e6
14 changed files with 68 additions and 1 deletions
@@ -0,0 +1,5 @@
// "Add 'operator' modifier" "true"
header class Foo {
fun <caret>unaryMinus()
}
@@ -0,0 +1,5 @@
// "Add 'operator' modifier" "true"
header class Foo {
operator fun unaryMinus()
}
@@ -0,0 +1,5 @@
impl class Foo {
impl fun unaryMinus() {
}
}
@@ -0,0 +1,5 @@
impl class Foo {
impl operator fun unaryMinus() {
}
}
@@ -0,0 +1,5 @@
impl class Foo {
impl fun unaryMinus() {
}
}
@@ -0,0 +1,5 @@
impl class Foo {
impl operator fun unaryMinus() {
}
}