Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2950 from trufflesuite/typetypestring
Browse files Browse the repository at this point in the history
Bug fix?: Implement typeString for TypeType
  • Loading branch information
haltman-at authored Apr 10, 2020
2 parents 02812b6 + 2610998 commit 860a239
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/codec/lib/format/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 860a239

Please sign in to comment.