Fixes
This commit is contained in:
parent
7669f3cbca
commit
2d0daf4b90
@ -621,6 +621,7 @@ class OurVisitor:
|
||||
varref: Union[ModuleConstantReference, VariableReference]
|
||||
if node.value.id in our_locals:
|
||||
param = our_locals[node.value.id]
|
||||
node_typ = param.type
|
||||
varref = VariableReference(param.type, param)
|
||||
elif node.value.id in module.constant_defs:
|
||||
constant_def = module.constant_defs[node.value.id]
|
||||
|
||||
@ -27,5 +27,5 @@ def func_call() -> i{type_}:
|
||||
"""
|
||||
|
||||
ast = phasm_parse(code_py)
|
||||
with pytest.raises(TypingError, match='Signed does not matchq'):
|
||||
with pytest.raises(TypingError, match='Signed does not match'):
|
||||
phasm_type(ast)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user