Safe identifier for the case of no name in PSI moved to 'descriptors' module, to be used in 'descriptor.loader.java'

This commit is contained in:
Andrey Breslav
2014-06-10 12:47:46 +04:00
parent bb581bb645
commit d2ce6f5787
6 changed files with 42 additions and 16 deletions
@@ -0,0 +1,17 @@
// FILE: p/Nameless.java
package p;
public class Nameless {
void () {}
int ;
}
// FILE: k.kt
import p.*
class K : Nameless() {
fun<!SYNTAX!><!> () {}
val<!SYNTAX!><!> : Int = 1
}