Important JavaDescriptorResolver refactoring

This patch implement own member filling with supertype scope. Before this patch JDR relied on
Idea hierarchy resolver.

This patch does two things:

* copies FunctionDescriptors from supertype scopes
* rewrites containingDeclaration similary to how it is done in previous patch

Patch is incomplete, in particular properties are not yet initialized properly, code needs cleanup,
however the most important part of refactoring is done, and tests pass.
This commit is contained in:
Stepan Koltsov
2012-02-15 00:02:03 +04:00
parent 0f52f2a5f8
commit 9248cf9659
11 changed files with 246 additions and 104 deletions
+1
View File
@@ -2,6 +2,7 @@ package testeval
import java.util.*
import junit.framework.TestCase.*
import junit.framework.Assert.* // TODO unnecessary import
trait Expression
class Num(val value : Int) : Expression