fixed typo
This commit is contained in:
parent
dd419fc120
commit
fdaf8d8661
|
@ -7,7 +7,7 @@ def parse_type(ctx: Context, ty):
|
||||||
if ty is None:
|
if ty is None:
|
||||||
return None, set()
|
return None, set()
|
||||||
elif isinstance(ty, ast.Name):
|
elif isinstance(ty, ast.Name):
|
||||||
# we should support string either, but no need for toy implementaiton
|
# we should support string either, but no need for toy implementation
|
||||||
if ty.id in ctx.types:
|
if ty.id in ctx.types:
|
||||||
return ctx.types[ty.id], set()
|
return ctx.types[ty.id], set()
|
||||||
elif ty.id in ctx.variables:
|
elif ty.id in ctx.variables:
|
||||||
|
|
Loading…
Reference in New Issue