v2: parser_test: run all tests
							parent
							
								
									9f4661391d
								
							
						
					
					
						commit
						377d8dc42c
					
				| 
						 | 
				
			
			@ -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 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue