Add 'operator' Intention: Support header/impl functions
#KT-18851 Fixed
This commit is contained in:
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user