classes declaration:

fix: class of the same unqualified name in package inside module (see MultiFileTest.testClassOfTheSameNameInAnotherPackage)

We don't ever try to use meaningful var name for temp class declaration — we remember about incremental compilation  inline final class declaration don't generate scope function if we don't need it

failed and fixed test: fast fix Kt817 (we must investigate, actually, it seems dart ast bug — we must have ability to declare name in our scope without check the same name in the parent scope)

perfomance: delete ClassSortingUtils, we don't need it
This commit is contained in:
develar
2012-06-28 10:28:33 +04:00
parent e83879e6f3
commit d6c725bcd9
16 changed files with 213 additions and 364 deletions
@@ -0,0 +1,7 @@
package foo
open class A() {
fun f() = 3
}
fun box() = (A().f() + bar.A().f()) == 9
@@ -0,0 +1,5 @@
package bar
open class A() {
fun f() = 6
}