diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-27 11:06:46 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-27 11:08:39 +0100 |
| commit | 9a945c589891ab00b1b8ef5280e31e97a4f29435 (patch) | |
| tree | 5b4ccffa3ef09780a7b9aba20c52afe371669281 /examples/13-inductive-data-types | |
| parent | bc817ec7c383a015daf015626ef71f6d071b519c (diff) | |
Generate name for TypeScript symbols
Diffstat (limited to 'examples/13-inductive-data-types')
| -rw-r--r-- | examples/13-inductive-data-types/output/typescript/src/arithmetic.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/13-inductive-data-types/output/typescript/src/arithmetic.ts b/examples/13-inductive-data-types/output/typescript/src/arithmetic.ts index 486ac66..5f5926b 100644 --- a/examples/13-inductive-data-types/output/typescript/src/arithmetic.ts +++ b/examples/13-inductive-data-types/output/typescript/src/arithmetic.ts @@ -8,7 +8,7 @@ type Expression = Add | Const; export {type Expression}; class Add { - public static readonly $tag = Symbol(); + public static readonly $tag = Symbol("Add"); public readonly $tag: typeof Add.$tag = Add.$tag; @@ -28,7 +28,7 @@ class Add { export {Add}; class Const { - public static readonly $tag = Symbol(); + public static readonly $tag = Symbol("Const"); public readonly $tag: typeof Const.$tag = Const.$tag; |
