aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/language/compiler/analysis/scope.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-20 22:46:38 -0400
committerEduardo Julian2018-07-20 22:46:38 -0400
commit518a7467c4e0ef904afa8c59cff3594d6f63c552 (patch)
tree509598d219a780d14a8fe6ccd46545f701a1cd17 /stdlib/source/lux/language/compiler/analysis/scope.lux
parentb1315d6dc1e4bed4a3bf35e8c6f67d88c2aa7b55 (diff)
No longer giving default aliases to un-prefixed imports.
Diffstat (limited to 'stdlib/source/lux/language/compiler/analysis/scope.lux')
-rw-r--r--stdlib/source/lux/language/compiler/analysis/scope.lux19
1 files changed, 10 insertions, 9 deletions
diff --git a/stdlib/source/lux/language/compiler/analysis/scope.lux b/stdlib/source/lux/language/compiler/analysis/scope.lux
index 3ee0499e8..a10ed6e58 100644
--- a/stdlib/source/lux/language/compiler/analysis/scope.lux
+++ b/stdlib/source/lux/language/compiler/analysis/scope.lux
@@ -5,17 +5,18 @@
[data
[text ("text/" Equivalence<Text>)
format]
- [maybe ("maybe/" Monad<Maybe>)]
- [product]
+ ["." maybe ("maybe/" Monad<Maybe>)]
+ ["." product]
["e" error]
[collection
- [list ("list/" Functor<List> Fold<List> Monoid<List>)]
- [dictionary [plist]]]]]
+ ["." list ("list/" Functor<List> Fold<List> Monoid<List>)]
+ [dictionary
+ ["." plist]]]]]
[// (#+ Operation Compiler)
- ["compiler" //
- [extension]
+ ["/." //
+ ["." extension]
[//
- [reference (#+ Register Variable)]]]])
+ ["." reference (#+ Register Variable)]]]])
(type: Local (Bindings Text [Type Register]))
(type: Foreign (Bindings Text [Type Variable]))
@@ -109,8 +110,8 @@
(|>> (update@ #.counter inc)
(update@ #.mappings (plist.put name [type new-var-id]))))
head)]
- (case (compiler.run' [bundle (set@ #.scopes (#.Cons new-head tail) state)]
- action)
+ (case (///.run' [bundle (set@ #.scopes (#.Cons new-head tail) state)]
+ action)
(#e.Success [[bundle' state'] output])
(case (get@ #.scopes state')
(#.Cons head' tail')