fixed typo

This commit is contained in:
pca006132 2020-12-23 16:48:26 +08:00 committed by pca006132
parent dd419fc120
commit fdaf8d8661
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ def parse_type(ctx: Context, ty):
if ty is None:
return None, set()
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:
return ctx.types[ty.id], set()
elif ty.id in ctx.variables: