From 2610998355edc2002555dccfdd51e9560feabc0b Mon Sep 17 00:00:00 2001 From: Harry Altman Date: Fri, 10 Apr 2020 15:49:45 -0400 Subject: [PATCH] Implement typeString for TypeType --- packages/codec/lib/format/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/codec/lib/format/types.ts b/packages/codec/lib/format/types.ts index 0460f7efe21..d0cb0272b81 100644 --- a/packages/codec/lib/format/types.ts +++ b/packages/codec/lib/format/types.ts @@ -708,6 +708,8 @@ export function typeStringWithoutLocation(dataType: Type): string { block: "block" }; return variableNames[dataType.variable]; + case "type": + return `type(${typeString(dataType.type)})`; case "function": let visibilityString: string; switch (dataType.visibility) {