diff --git a/source/tlang/compiler/symbols/data.d b/source/tlang/compiler/symbols/data.d index 2e178773..6987ec69 100644 --- a/source/tlang/compiler/symbols/data.d +++ b/source/tlang/compiler/symbols/data.d @@ -813,18 +813,7 @@ public class VariableExpression : IdentExpression { super(identifier); } - - - - import tlang.compiler.typecheck.core; - public override string evaluateType(TypeChecker typeChecker, Container c) - { - string type; - - - return null; - } - + public override string toString() { return "[varExp: "~getName()~"]"; diff --git a/source/tlang/compiler/symbols/expressions.d b/source/tlang/compiler/symbols/expressions.d index bb4600db..64f6c2f2 100644 --- a/source/tlang/compiler/symbols/expressions.d +++ b/source/tlang/compiler/symbols/expressions.d @@ -218,23 +218,9 @@ public abstract class NumberLiteral : Expression } } -public class Expression : Statement +public abstract class Expression : Statement { - import tlang.compiler.typecheck.core; - /* TODO: Takes in symbol table? */ - public string evaluateType(TypeChecker typechecker, Container c) - { - /* TODO: Go through here evaluating the type */ - - return null; - } - - this() - { - - } - - /* TODO: Evalute this expression's type */ + } public final class NewExpression : Expression