Closed markwpearce closed 2 months ago
Previously, the type displayed on an assignment was the type of the RHS expression.
This changes that so it does a symbolTable lookup for the token on the LHS.
Symbol table type lookups return a union type of all assigned types for that symbol.
It is bad code style to use the same variable name for different types! We need to add that to BSLint.
Previously, the type displayed on an assignment was the type of the RHS expression.
This changes that so it does a symbolTable lookup for the token on the LHS.
Symbol table type lookups return a union type of all assigned types for that symbol.
It is bad code style to use the same variable name for different types! We need to add that to BSLint.