aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-01-24 04:44:32 -0400
committerEduardo Julian2022-01-24 04:44:32 -0400
commit6f55815f7f237df406e72c7a723055bb6238fce5 (patch)
tree64fb65d63c18aac5ba1416ccbdcc082eb6f860e8 /stdlib/source/library/lux.lux
parent971c90ca9bcaa656f2e5682d61ca8054a59a8fea (diff)
Fixed compilation of <init> methods for anonymous classes.
Diffstat (limited to 'stdlib/source/library/lux.lux')
-rw-r--r--stdlib/source/library/lux.lux12
1 files changed, 7 insertions, 5 deletions
diff --git a/stdlib/source/library/lux.lux b/stdlib/source/library/lux.lux
index bd3f36e3e..4cb5319cd 100644
--- a/stdlib/source/library/lux.lux
+++ b/stdlib/source/library/lux.lux
@@ -459,8 +459,9 @@
#0)
... (type: .public (Either l r)
-... {#Left l}
-... {#Right r})
+... (Variant
+... {#Left l}
+... {#Right r}))
("lux def type tagged" Either
{#Named [..prelude_module "Either"]
{#UnivQ {#End}
@@ -482,9 +483,10 @@
.public)
... (type: .public Module_State
-... #Active
-... #Compiled
-... #Cached)
+... (Variant
+... #Active
+... #Compiled
+... #Cached))
("lux def type tagged" Module_State
{#Named [..prelude_module "Module_State"]
{#Sum