Fixed type propagation for dereference and address-of, needs work for all the other operators also. Starting ground work for array notation
This commit is contained in:
@@ -83,3 +83,7 @@ std::string Type::toString() {
|
||||
typeString += "*";
|
||||
return typeString;
|
||||
}
|
||||
|
||||
Type* Type::clone() {
|
||||
return new Type(baseType, typeDefinition, indirection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user