mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
eval: ignore ast.Module (fixes v interpret file.v regression after 07cf6d9)
This commit is contained in:
@@ -140,6 +140,7 @@ pub fn (mut e Eval) register_symbol_stmts(stmts []ast.Stmt, mod string, file str
|
||||
|
||||
pub fn (mut e Eval) register_symbol(stmt ast.Stmt, mod string, file string) {
|
||||
match stmt {
|
||||
ast.Module {}
|
||||
ast.FnDecl {
|
||||
// this mess because c error
|
||||
x := ast.Stmt(stmt)
|
||||
|
||||
Reference in New Issue
Block a user