aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test/test/lux/lang/analysis/reference.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/test/test/lux/lang/analysis/reference.lux')
-rw-r--r--stdlib/test/test/lux/lang/analysis/reference.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/test/test/lux/lang/analysis/reference.lux b/stdlib/test/test/lux/lang/analysis/reference.lux
index 00689f3e0..e67756d55 100644
--- a/stdlib/test/test/lux/lang/analysis/reference.lux
+++ b/stdlib/test/test/lux/lang/analysis/reference.lux
@@ -36,7 +36,7 @@
(typeA.with-inference
(..analyse (code.symbol ["" var-name])))))
(macro.run (initL.compiler []))
- (case> (^ (#e.Success [inferredT (#analysisL.Variable (#analysisL.Local var))]))
+ (case> (^ (#e.Success [inferredT (analysisL.variable/local var)]))
(and (type/= expectedT inferredT)
(n/= +0 var))
@@ -49,7 +49,7 @@
(..analyse (code.symbol def-name))))
(moduleL.with-module +0 module-name)
(macro.run (initL.compiler []))
- (case> (#e.Success [_ inferredT (#analysisL.Constant constant-name)])
+ (case> (^ (#e.Success [_ inferredT (analysisL.reference/constant constant-name)]))
(and (type/= expectedT inferredT)
(ident/= def-name constant-name))