commit b732fc58ad5e14d8cb997afaf3e434d6fca50284
parent 75800ef0584d31c6ccdd5135579bef715a146c70
Author: deurzen <m.deurzen@tum.de>
Date: Sat, 6 Feb 2021 01:16:57 +0100
fixes inconsistency in output
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/project/type_dict.py b/project/type_dict.py
@@ -88,7 +88,7 @@ class CodeDict():
def parse_chain(self, next_type, chain, index):
# we're at the final field access, return its type
if index >= len(chain):
- return next_type
+ return "type = " + next_type.strip()
# we need to look for the type of the next field in the field access chain
field = chain[index]