Create from Usage: Disable "Create property" (non-abstract) in interfaces. Make "Create function" (non-abstract) generate function body in interfaces

#KT-13365 Fixed
This commit is contained in:
Alexey Sedunov
2016-08-08 15:32:54 +03:00
parent f4d9f33f48
commit 562488b348
8 changed files with 45 additions and 5 deletions
@@ -0,0 +1,11 @@
// "Create property 'foo'" "false"
// ACTION: Create abstract property 'foo'
// ACTION: Create local variable 'foo'
// ACTION: Create object 'foo'
// ACTION: Create parameter 'foo'
// ACTION: Rename reference
// ERROR: Unresolved reference: foo
interface IF1 {
fun af2() = <caret>foo
}