1
0
mirror of https://github.com/golang/go synced 2024-11-19 12:14:42 -07:00
go/ssa/interp/testdata
Alan Donovan fb0642f5fb go.tools/ssa: fix a package-level var initialization order bug.
buildDecl was visiting all decls in source order, but the spec
calls for visiting all vars and init() funcs in order, then
all remaining functions.  These two passes are now called
buildInit(), buildFuncDecl().

+ Test.

Also:
- Added workaround to gcimporter for Func with pkg==nil.
- Prog.concreteMethods has been merged into Pkg.values.
- Prog.concreteMethod() renamed declaredFunc().
- s/mfunc/obj/ (name cleanup from recent gri CL)

R=gri
CC=golang-dev
https://golang.org/cl/12030044
2013-07-29 14:24:09 -04:00
..
boundmeth.go go.tools/ssa: (another) major refactoring of method-set logic. 2013-07-26 11:22:34 -04:00
coverage.go go.tools/ssa: avoid redundant uint64 conversion of right operand of <<, >>. 2013-07-08 17:33:51 -04:00
fieldprom.go go.tools/ssa: use go/types.LookupFieldOrMethod, and simplify. 2013-07-01 15:17:36 -04:00
ifaceconv.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
ifaceprom.go go.tools/ssa: fix a package-level var initialization order bug. 2013-07-29 14:24:09 -04:00
initorder.go go.tools/ssa: fix a package-level var initialization order bug. 2013-07-29 14:24:09 -04:00
methprom.go go.tools/ssa: tests of method promotion and of interface conversion + bugfixes. 2013-07-26 21:49:27 -04:00
mrvchain.go go.tools/go/types: clean up assignment checks (round 1) 2013-07-08 09:40:30 -07:00