tools/go/pointer/testdata
Alan Donovan 5c5c4f4888 go/pointer: fix crash: valueNode(*FreeVar) was allocating 1 node, even for multi-word types.
+ regression test.

Fixes golang/go#8172

Also: return error (not panic) when called with empty input.

LGTM=gri
R=crawshaw, gri
CC=golang-codereviews, jon
https://golang.org/cl/104270043
2014-06-19 15:30:51 -04:00
..
a_test.go go.tools/go/loader: permit Create* methods to specify the ad-hoc package's path 2014-01-22 09:59:19 -05:00
another.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
arrayreflect.go go.tools: fix various typos 2014-05-02 14:38:08 -07:00
arrays.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
channels.go go.tools/go/ssa: name anon funcs by their enclosing func. 2014-02-28 10:18:55 -05:00
chanreflect.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
chanreflect1.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
context.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
conv.go go.tools/go/pointer: fix crash in constraint generation of ssa.Convert to a named unsafe.Pointer type. 2014-06-18 18:02:07 -04:00
finalizer.go go/pointer: implement pointer equivalence via hash-value numbering, a pre-solver optimization. 2014-06-16 15:46:07 -04:00
flow.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
fmtexcerpt.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
func.go go/pointer: fix crash: valueNode(*FreeVar) was allocating 1 node, even for multi-word types. 2014-06-19 15:30:51 -04:00
funcreflect.go go.tools/ssa: create thunks for method expressions T.f. 2014-06-11 13:10:26 -04:00
hello.go go.tools: fix various typos 2014-05-02 14:38:08 -07:00
interfaces.go go.tools/ssa: create thunks for method expressions T.f. 2014-06-11 13:10:26 -04:00
mapreflect.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
maps.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
panic.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
recur.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
reflect.go go.tools/go/pointer: fix solver nontermination bug due to reflective type construction cycles. 2014-05-30 16:27:51 -04:00
rtti.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
structreflect.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00
structs.go go.tools: rename packages. 2014-01-16 09:33:58 -05:00