aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux')
-rw-r--r--stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux
index 8ab7706c7..ebd144e86 100644
--- a/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux
+++ b/stdlib/source/test/lux/tool/compiler/language/lux/phase/analysis/function.lux
@@ -57,7 +57,7 @@
arg_name (|> (r.unicode 5) (r.only (|>> (text#= func_name) not)))
[outputT outputC] _primitive.primitive
[inputT _] _primitive.primitive
- .let [g!arg (code.local_identifier arg_name)]]
+ .let [g!arg (code.local_symbol arg_name)]]
(<| (_.context (%.symbol (symbol /.function)))
($_ _.and
(_.test "Can analyse function."
@@ -76,7 +76,7 @@
_structure.check_succeeds)))
(_.test "The function's name is bound to the function's type."
(|> (//type.with_type (Rec self (-> inputT self))
- (/.function _primitive.phase func_name arg_name archive.empty (code.local_identifier func_name)))
+ (/.function _primitive.phase func_name arg_name archive.empty (code.local_symbol func_name)))
_structure.check_succeeds))
))))