mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v2: dont use type type in <<
infix in parser
This commit is contained in:
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 {
|
||||
tok := p.tok
|
||||
p.next()
|
||||
mut right := ast.Expr{}
|
||||
right, typ = p.expr(precedence-1)
|
||||
right,_ := p.expr(precedence-1)
|
||||
node = ast.InfixExpr{
|
||||
left: node
|
||||
right: right
|
||||
|
Loading…
Reference in New Issue
Block a user