diff options
author | Eduardo Julian | 2017-10-30 22:22:36 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-10-30 22:22:36 -0400 |
commit | a12eb1ae67e36ee12dd434da948a25b6b18e34d6 (patch) | |
tree | c64bc80d48af89b449d6fff1c79c2abfe9f2d681 /luxc | |
parent | b6c3a84b536235a53bdfaf0f96d76413bc222ba7 (diff) |
- Added "lux check type" to old compiler.
Diffstat (limited to 'luxc')
-rw-r--r-- | luxc/src/lux/analyser.clj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/luxc/src/lux/analyser.clj b/luxc/src/lux/analyser.clj index fe560ed10..116102f37 100644 --- a/luxc/src/lux/analyser.clj +++ b/luxc/src/lux/analyser.clj @@ -117,6 +117,10 @@ (&/with-analysis-meta cursor exo-type (&&lux/analyse-ann analyse eval! exo-type ?type ?value))) + "lux check type" + (|let [(&/$Cons ?value (&/$Nil)) parameters] + (analyse-ast optimize eval! compile-module compilers &type/Type ?value)) + "lux coerce" (|let [(&/$Cons ?type (&/$Cons ?value |