aboutsummaryrefslogtreecommitdiff
path: root/source/lux/meta/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-08-03 19:54:53 -0400
committerEduardo Julian2015-08-03 19:54:53 -0400
commitddc471806fba8fe179d52b4781f0a66d871b5e99 (patch)
tree4f749d0135a22a69ea742eb7b03ac740a993ee69 /source/lux/meta/lux.lux
parent90399879ee7cc61e6333f7e81141441d32fcdb2e (diff)
- Type definitions inside the compiler data now hold the type itself.
- Value definitions inside the compiler data now hold the value itself. - Fixed a few bugs.
Diffstat (limited to '')
-rw-r--r--source/lux/meta/lux.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/lux/meta/lux.lux b/source/lux/meta/lux.lux
index 66e4cc341..cdbade999 100644
--- a/source/lux/meta/lux.lux
+++ b/source/lux/meta/lux.lux
@@ -286,10 +286,10 @@
(#;Some [_ def-data])
(case def-data
- #;TypeD (#;Some Type)
- (#;ValueD type) (#;Some type)
- (#;MacroD m) (#;Some Macro)
- (#;AliasD name') (find-in-defs name' state))))))
+ (#;TypeD value) (#;Some Type)
+ (#;ValueD type _) (#;Some type)
+ (#;MacroD m) (#;Some Macro)
+ (#;AliasD name') (find-in-defs name' state))))))
(def #export (find-var-type name)
(-> Ident (Lux Type))