From 6c6434c7a768faae534f1f2cc8b56f924a0d1042 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 4 Nov 2021 00:35:17 -0400 Subject: [PATCH] spelling: annotation --- Ast/src/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ast/src/Parser.cpp b/Ast/src/Parser.cpp index 6672efe8..9794a037 100644 --- a/Ast/src/Parser.cpp +++ b/Ast/src/Parser.cpp @@ -1535,7 +1535,7 @@ AstType* Parser::parseSimpleTypeAnnotation() { Location location = lexer.current().location; - // For a missing type annoation, capture 'space' between last token and the next one + // For a missing type annotation, capture 'space' between last token and the next one location = Location(lexer.previousLocation().end, lexer.current().location.begin); return reportTypeAnnotationError(location, {}, /*isMissing*/ true, "Expected type, got %s", lexer.current().toString().c_str());