v2: dont use type type in `<<` infix in parser
							parent
							
								
									063ca3b644
								
							
						
					
					
						commit
						c633dd09c6
					
				| 
						 | 
					@ -832,8 +832,7 @@ pub fn (p mut Parser) expr(precedence int) (ast.Expr,table.Type) {
 | 
				
			||||||
		else if p.tok.kind == .left_shift {
 | 
							else if p.tok.kind == .left_shift {
 | 
				
			||||||
			tok := p.tok
 | 
								tok := p.tok
 | 
				
			||||||
			p.next()
 | 
								p.next()
 | 
				
			||||||
			mut right := ast.Expr{}
 | 
								right,_ := p.expr(precedence-1)
 | 
				
			||||||
			right, typ = p.expr(precedence-1)
 | 
					 | 
				
			||||||
			node = ast.InfixExpr{
 | 
								node = ast.InfixExpr{
 | 
				
			||||||
				left: node
 | 
									left: node
 | 
				
			||||||
				right: right
 | 
									right: right
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue