From fdaf8d86615f787dc7daa4c06226e9c44b00e99f Mon Sep 17 00:00:00 2001 From: pca006132 Date: Wed, 23 Dec 2020 16:48:26 +0800 Subject: [PATCH] fixed typo --- toy-impl/top_level.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toy-impl/top_level.py b/toy-impl/top_level.py index fbd18b5..b663a33 100644 --- a/toy-impl/top_level.py +++ b/toy-impl/top_level.py @@ -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: