WIP: Name resoltuion
parent
0433bccc00
commit
adc9457a0f
|
@ -732,7 +732,7 @@ public class VariableAssignment
|
|||
{
|
||||
private Expression expression;
|
||||
|
||||
this(Expression)
|
||||
this(Expression expression)
|
||||
{
|
||||
this.expression = expression;
|
||||
}
|
||||
|
@ -772,6 +772,8 @@ public class VariableExpression : IdentExpression
|
|||
{
|
||||
string type;
|
||||
|
||||
/* Variables can't get look ahead sort of */
|
||||
|
||||
/* Get all names and see if i am in it firstly */
|
||||
Entity entity = typeChecker.isValidEntity(startingPoint, getName());
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ public final class TypeChecker
|
|||
}
|
||||
else
|
||||
{
|
||||
declareName(path~variable.getName());
|
||||
// declareName(path~variable.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
module bababoioey;
|
||||
|
||||
|
||||
int x;
|
||||
int x;
|
||||
ubyte y;
|
||||
|
||||
|
|
Loading…
Reference in New Issue