Fixed auto-import of operator functions broken before + fixed bug in its implementation
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// "Import" "false"
|
||||
// ACTION: Create function 'inc'
|
||||
// ACTION: Create local variable '++'
|
||||
// ACTION: Create parameter '++'
|
||||
// ACTION: Inspection 'UNUSED_CHANGED_VALUE' options
|
||||
// ACTION: Replace overloaded operator with function call
|
||||
// ERROR: Unresolved reference: ++
|
||||
|
||||
package h
|
||||
|
||||
trait H
|
||||
|
||||
fun f(h: H?) {
|
||||
var h1 = h
|
||||
h1<caret>++
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package util
|
||||
|
||||
fun h.H.inc(p: Int): h.H {
|
||||
}
|
||||
Reference in New Issue
Block a user