v2: fix typo & remove unneeded field
parent
30c8a5a010
commit
b250ded3fa
|
@ -213,7 +213,6 @@ pub:
|
||||||
imports []Import
|
imports []Import
|
||||||
stmts []Stmt
|
stmts []Stmt
|
||||||
scope &Scope
|
scope &Scope
|
||||||
const_decls []ConstDecl
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct IdentFunc {
|
pub struct IdentFunc {
|
||||||
|
|
|
@ -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) {
|
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 {
|
for file in ast_files {
|
||||||
c.file = file
|
c.file = file
|
||||||
for stmt in file.stmts {
|
for stmt in file.stmts {
|
||||||
|
|
Loading…
Reference in New Issue