"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/compile/internal/typecheck/iimport.go" between
go1.19.src.tar.gz and go1.19.1.src.tar.gz

About: Google’s Go is a compiled, garbage-collected, concurrent programming language.
Latest stable release (1.19).

iimport.go  (go1.19.src):iimport.go  (go1.19.1.src)
skipping to change at line 1468 skipping to change at line 1468
} }
} }
return n return n
case ir.ODOTTYPE, ir.ODOTTYPE2: case ir.ODOTTYPE, ir.ODOTTYPE2:
n := ir.NewTypeAssertExpr(r.pos(), r.expr(), r.typ()) n := ir.NewTypeAssertExpr(r.pos(), r.expr(), r.typ())
n.SetOp(op) n.SetOp(op)
return n return n
case ir.ODYNAMICDOTTYPE, ir.ODYNAMICDOTTYPE2: case ir.ODYNAMICDOTTYPE, ir.ODYNAMICDOTTYPE2:
n := ir.NewDynamicTypeAssertExpr(r.pos(), op, r.expr(), r.expr()) n := ir.NewDynamicTypeAssertExpr(r.pos(), op, r.expr(), nil)
if r.bool() {
n.RType = r.expr()
}
if r.bool() { if r.bool() {
n.ITab = r.expr() n.ITab = r.expr()
} }
n.SetType(r.typ()) n.SetType(r.typ())
return n return n
case ir.OINDEX, ir.OINDEXMAP: case ir.OINDEX, ir.OINDEXMAP:
n := ir.NewIndexExpr(r.pos(), r.expr(), r.expr()) n := ir.NewIndexExpr(r.pos(), r.expr(), r.expr())
n.SetOp(op) n.SetOp(op)
n.SetType(r.exoticType()) n.SetType(r.exoticType())
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)