EA-41207 - IAE: NameUtils.requireIdentifier

Test data files renamed
This commit is contained in:
Andrey Breslav
2013-01-30 11:56:50 +04:00
parent cd56b2f401
commit d31e53fa59
31 changed files with 9 additions and 17 deletions
+28
View File
@@ -0,0 +1,28 @@
package toplevelObjectDeclarations {
class Foo(y : Int) {
~foo()~open fun foo() : Int = 1
}
object ~A~A : Foo(0) {
~x~val x : Int = 2
fun test() {
return `x`x + `foo()`foo()
}
}
object B : A {}
~ns.x~val x = `A`A.`foo()`foo()
~y~val y = object : Foo(`ns.x`x) {
{
`ns.x`x + 12
}
~y.foo()~override fun foo() : Int = 1
}
val z = `y`y.`y.foo()`foo()
}