aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
diff options
context:
space:
mode:
authorEduardo Julian2019-10-17 20:51:39 -0400
committerEduardo Julian2019-10-17 20:51:39 -0400
commit94e5a6b6ce7ad4b103e9d55c1aad2bd376f5da67 (patch)
tree974e189415868dc8feb6fb151ae07ab6e594e24f /stdlib/source
parent299908a885d00ec735070a937f9720410fe224a9 (diff)
FIX old compiler could allow aliases to be defined more than once
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/target/jvm/field.lux2
-rw-r--r--stdlib/source/lux/tool/compiler/phase/analysis/module.lux2
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/target/jvm/field.lux b/stdlib/source/lux/target/jvm/field.lux
index 3f569502a..1e7edac35 100644
--- a/stdlib/source/lux/target/jvm/field.lux
+++ b/stdlib/source/lux/target/jvm/field.lux
@@ -1,5 +1,5 @@
(.module:
- [lux (#- static)
+ [lux (#- Type static)
[abstract
[monoid (#+)]
["." equivalence (#+ Equivalence)]
diff --git a/stdlib/source/lux/tool/compiler/phase/analysis/module.lux b/stdlib/source/lux/tool/compiler/phase/analysis/module.lux
index bb1094b2a..a6e1bedbd 100644
--- a/stdlib/source/lux/tool/compiler/phase/analysis/module.lux
+++ b/stdlib/source/lux/tool/compiler/phase/analysis/module.lux
@@ -136,7 +136,7 @@
[]])
(#.Some already-existing)
- ((/.throw' cannot-define-more-than-once [self-name name]) state))))))
+ ((/.throw' ..cannot-define-more-than-once [self-name name]) state))))))
(def: #export (create hash name)
(-> Nat Text (Operation Any))