aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
authorEduardo Julian2019-05-24 21:22:48 -0400
committerEduardo Julian2019-05-24 21:22:48 -0400
commit1c2e2b58bca4e837bed6d701fe16be092be828a3 (patch)
tree1b5d8b4c9baa6f47c6b2051c81305f1f8279b1ba /stdlib/source/test
parent9cdc2f44cbcf4e0a627216d295b5f05bd817d6a8 (diff)
Removed the (magical) "export?" annotations tag.
Diffstat (limited to 'stdlib/source/test')
-rw-r--r--stdlib/source/test/lux/tool/compiler/phase/analysis/reference.lux8
1 files changed, 2 insertions, 6 deletions
diff --git a/stdlib/source/test/lux/tool/compiler/phase/analysis/reference.lux b/stdlib/source/test/lux/tool/compiler/phase/analysis/reference.lux
index 7356b9fad..5d8782a4f 100644
--- a/stdlib/source/test/lux/tool/compiler/phase/analysis/reference.lux
+++ b/stdlib/source/test/lux/tool/compiler/phase/analysis/reference.lux
@@ -46,11 +46,7 @@
(-> Text [Bit Text] [Bit Text] Check Bit)
(|> (do ///.monad
[_ (//module.with-module 0 def-module
- (//module.define var-name [Any
- (if export?
- (' {#.export? #1})
- (' {}))
- []]))]
+ (//module.define var-name [export? Any (' {}) []]))]
(//module.with-module 0 dependent-module
(do @
[_ (if import?
@@ -86,7 +82,7 @@
(_.test "Can analyse definition (in the same module)."
(let [def-name [def-module var-name]]
(|> (do ///.monad
- [_ (//module.define var-name [expectedT (' {}) []])]
+ [_ (//module.define var-name [false expectedT (' {}) []])]
(//type.with-inference
(_primitive.phase (code.identifier def-name))))
(//module.with-module 0 def-module)