v2: fix typo & remove unneeded field

pull/3810/head
joe-conigliaro 2020-02-22 23:08:14 +11:00
parent 30c8a5a010
commit b250ded3fa
2 changed files with 1 additions and 2 deletions

View File

@ -213,7 +213,6 @@ pub:
imports []Import
stmts []Stmt
scope &Scope
const_decls []ConstDecl
}
pub struct IdentFunc {

View File

@ -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 {