From 9a945c589891ab00b1b8ef5280e31e97a4f29435 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 27 Sep 2026 11:06:46 +0100 Subject: Generate name for TypeScript symbols --- examples/13-inductive-data-types/output/typescript/src/arithmetic.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/13-inductive-data-types') 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; -- cgit v1.2.3