Treat anonymous objects as classes (ClassKind.CLASS)

They're not objects per se, i.e. they're not singletons
This commit is contained in:
Alexander Udalov
2013-10-25 20:55:16 +04:00
parent 27f832a713
commit 18c59d5495
10 changed files with 78 additions and 78 deletions
@@ -0,0 +1,7 @@
class Foo {
val x = object { }
}
// TESTED_OBJECT_KIND: class
// TESTED_OBJECTS: Foo$x$1
// FLAGS: ACC_PUBLIC, ACC_FINAL, ACC_SUPER