v2: parser_test: run all tests

pull/3632/head
Alexander Medvednikov 2020-02-02 08:06:21 +01:00
parent 9f4661391d
commit 377d8dc42c
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ pub fn (c &Checker) check_method_call_expr(method_call_expr ast.MethodCallExpr)
pub fn (c &Checker) selector_expr(selector_expr ast.SelectorExpr) table.Type {
ti := c.expr(selector_expr.expr)
field_name := selector_expr.field
struct_ := c.table.types[ti.idx]
// struct_ := c.table.types[ti.idx]
// struct_info := struct_.info as table.Struct
typ := c.table.types[ti.idx]
match typ.kind {

View File

@ -45,7 +45,7 @@ fn test_eval() {
println('eval done')
println(s)
assert s == expected.join('\n')
exit(0)
// exit(0)
}
fn test_parse_file() {