diff --git a/org.lflang/src/org/lflang/generator/TargetTypes.java b/org.lflang/src/org/lflang/generator/TargetTypes.java index c667d45a20..8e72c2a3f0 100644 --- a/org.lflang/src/org/lflang/generator/TargetTypes.java +++ b/org.lflang/src/org/lflang/generator/TargetTypes.java @@ -163,7 +163,7 @@ default String getTargetType(InferredType type) { } else if (type.isVariableSizeList) { return getTargetVariableSizeListType(type.baseType()); } - return type.toText(); + return type.toOriginalText(); } /**