From b250ded3fa0f3f0c7fdcbda44b3035a02401e398 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Sat, 22 Feb 2020 23:08:14 +1100 Subject: [PATCH] v2: fix typo & remove unneeded field --- vlib/v/ast/ast.v | 1 - vlib/v/checker/checker.v | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vlib/v/ast/ast.v b/vlib/v/ast/ast.v index 0f2b314110..38de987113 100644 --- a/vlib/v/ast/ast.v +++ b/vlib/v/ast/ast.v @@ -213,7 +213,6 @@ pub: imports []Import stmts []Stmt scope &Scope - const_decls []ConstDecl } pub struct IdentFunc { diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index ceb90e25eb..54d8059728 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -48,7 +48,7 @@ pub fn (c mut Checker) check2(ast_file ast.File) []string { } pub fn (c mut Checker) check_files(ast_files []ast.File) { - // TODO: temp fix, impl proper solition + // TODO: temp fix, impl proper solution for file in ast_files { c.file = file for stmt in file.stmts {