1
0
mirror of https://github.com/golang/go synced 2024-11-18 04:04:49 -07:00
go/test/typeparam
Matthew Dempsky fa9efd9171 cmd/compile/internal/noder: correct positions for synthetic closures
When inlining functions that contain function literals, we need to be
careful about position information. The OCLOSURE node should use the
inline-adjusted position, but the ODCLFUNC and its body should use the
original positions.

However, the same problem can arise with certain generic constructs,
which require the compiler to synthesize function literals to insert
dictionary arguments.

go.dev/cl/425395 fixed the issue with user-written function literals
in a somewhat kludgy way; this CL extends the same solution to
synthetic function literals.

This is all quite subtle and the solutions aren't terribly robust, so
longer term it's probably desirable to revisit how we track inlining
context for positions. But for now, this seems to be the least bad
solution, esp. for backporting to 1.20.

Updates #54625.
Fixes #58513.

Change-Id: Icc43a70dbb11a0e665cbc9e6a64ef274ad8253d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/468415
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
2023-02-27 23:07:49 +00:00
..
absdiffimp2.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
absdiffimp.dir
aliasimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
chansimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
dedup.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
factimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
gencrawler.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
geninline.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue46461b.dir
issue47514c.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue47775.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue47892.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue47892b.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48094.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48094b.dir
issue48185a.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48185b.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48280.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48306.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48337a.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48337b.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48454.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48462.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48716.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue48962.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue49027.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue49241.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue49246.dir
issue49497.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue49524.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue49536.dir cmd/compile: fix reentrancy issue in unified IR function body reading 2022-03-07 06:23:18 +00:00
issue49659.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue49667.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue49893.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50121.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50121b.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50437.dir
issue50481b.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50481c.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50485.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50486.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50552.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50561.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50598.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue50841.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue51219.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue51219b.dir test: add new test case for 51219 that triggers the types2 issue 2022-02-28 14:59:04 +00:00
issue51250a.dir cmd/compile: don't include instantiating types in type hash 2022-03-03 00:23:02 +00:00
issue51367.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
issue51423.dir cmd/compile: fix re-export closure 2022-03-11 00:42:08 +00:00
issue51836.dir cmd/compile/internal/importer: key tparams by Package instead of pkgname 2022-03-22 21:38:10 +00:00
issue52117.dir cmd/compile: set correct package for vars/params/results from nested instantiation 2022-04-28 20:14:34 +00:00
issue54302.dir cmd/compile: fix import/export of ODYNAMICDOTTYPE 2022-08-06 15:20:00 +00:00
listimp2.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
listimp.dir all: fix some comments for method 2022-12-03 17:08:51 +00:00
mapimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
mapsimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
mdempsky cmd/compile: use "satisfies" (not "implements") for constraint errors 2023-01-04 19:07:27 +00:00
mincheck.dir cmd/compile: use "satisfies" (not "implements") for constraint errors 2023-01-04 19:07:27 +00:00
minimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
mutualimp.dir
orderedmapsimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
pairimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
recoverimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
select.dir
setsimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
sliceimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
stringerimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
structinit.dir
valimp.dir test: use dot-relative imports where appropriate 2022-03-24 02:14:15 +00:00
absdiff2.go go/types, types2: disable field accesses through type parameters 2022-03-09 21:26:42 +00:00
absdiff3.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
absdiff.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
absdiffimp2.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
absdiffimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
adder.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
aliasimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
append.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
boundmethod.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
builtins.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
chans.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
chansimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
combine.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
cons.go test/typeparam: fix copyright message 2022-04-21 23:41:49 +00:00
dedup.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
dedup.out
dictionaryCapture-noinline.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
dictionaryCapture.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
dottype.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
dottype.out
double.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
eface.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
equal.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
fact.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
factimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
gencrawler.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
gencrawler.out
genembed2.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
genembed.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
geninline.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
graph.go all: fix typos in go file comments 2023-01-09 15:34:31 +00:00
ifaceconv.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
importtest.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
index2.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
index.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
interfacearg.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue23536.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue39755.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue42758.go cmd/compile: remove duplicate const logic from typecheck 2022-03-07 18:17:40 +00:00
issue44688.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue45547.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue45722.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue45738.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue45817.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue46461.go go/types, types2: more concise error messages for cycle errors 2022-09-29 14:21:33 +00:00
issue46461b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue46472.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue46591.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47258.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47272.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47272.out
issue47514.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47514b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47514c.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47631.go test: enable issue47631.go for Unified IR 2022-09-30 23:00:20 +00:00
issue47676.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47684.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47684b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47684c.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47708.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47710.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47713.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47713.out
issue47716.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47723.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47740.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47740.out
issue47740b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47775.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47775b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47797.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47877.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47878.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47892.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47892b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47896.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47901.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47924.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47925.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47925b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47925c.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47925d.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47929.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47948.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue47966.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48013.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48016.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48030.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48042.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48047.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48049.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48056.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48094.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48094b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48137.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48185a.go
issue48185b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48191.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48198.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48225.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48253.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48276a.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48276a.out go/types, types2: fix implements and identical predicates 2022-01-31 20:35:07 +00:00
issue48276b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48280.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48306.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48317.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48318.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48337a.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48337a.out
issue48337b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48344.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48424.go go/types, types2: correctly consider ~ (tilde) in constraint type inference 2022-03-01 23:48:58 +00:00
issue48453.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48454.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48462.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48537.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48538.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48598.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48602.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48604.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48609.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48617.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48645a.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48645a.out
issue48645b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48711.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48716.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48838.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue48962.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49027.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49049.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49241.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49246.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49295.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49309.go cmd/compile: enable more inlining for unified IR 2022-08-18 17:26:40 +00:00
issue49421.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49432.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49497.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49516.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49524.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49536.go cmd/compile: fix reentrancy issue in unified IR function body reading 2022-03-07 06:23:18 +00:00
issue49538.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49547.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49611.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49659.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49659b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49667.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49875.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue49893.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50002.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50109.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50109.out
issue50109b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50121.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50121b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50147.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50177.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50193.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50193.out
issue50259.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50264.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50317.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50417.go go/types, types2: disable field accesses through type parameters 2022-03-09 21:26:42 +00:00
issue50417b.go go/types, types2: disable field accesses through type parameters 2022-03-09 21:26:42 +00:00
issue50419.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50437.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50481b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50481c.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50481c.out
issue50485.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50486.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50552.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50561.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50598.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50642.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50690a.go go/types, types2: disable field accesses through type parameters 2022-03-09 21:26:42 +00:00
issue50690a.out
issue50690b.go go/types, types2: disable field accesses through type parameters 2022-03-09 21:26:42 +00:00
issue50690b.out
issue50690c.go go/types, types2: disable field accesses through type parameters 2022-03-09 21:26:42 +00:00
issue50690c.out
issue50833.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50841.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue50993.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51219.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51219.out test: add new test case for 51219 that triggers the types2 issue 2022-02-28 14:59:04 +00:00
issue51219b.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51232.go go/types, types2: disable inference for type instances 2022-03-07 21:18:15 +00:00
issue51233.go go/types, types2: disable inference for type instances 2022-03-07 21:18:15 +00:00
issue51236.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51245.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51250a.go cmd/compile: don't include instantiating types in type hash 2022-03-03 00:23:02 +00:00
issue51303.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51303.out cmd/compile: deal with constructed types that have shapes in them 2022-02-28 19:38:22 +00:00
issue51355.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51367.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
issue51423.go cmd/compile: fix re-export closure 2022-03-11 00:42:08 +00:00
issue51521.go test: add test case for #51521 2022-03-07 14:07:18 +00:00
issue51522a.go cmd/compile: fix transform of OEQ/ONE when one arg is a type param 2022-03-10 18:50:50 +00:00
issue51522b.go cmd/compile: fix expression switches using type parameters 2022-03-10 19:30:33 +00:00
issue51700.go cmd/compile: always write fun[0] in incomplete itab 2022-04-12 17:06:19 +00:00
issue51765.go cmd/compile: replace Type.OrigSym with Type.OrigType 2022-03-21 21:57:24 +00:00
issue51832.go cmd/compile: catch pointless recursion on function types 2022-05-24 20:35:40 +00:00
issue51836.go cmd/compile/internal/importer: key tparams by Package instead of pkgname 2022-03-22 21:38:10 +00:00
issue51840.go test: add test case for #51840 2022-05-10 19:40:04 +00:00
issue51909.go cmd/compile: don't inline fn with shape params, but passed no shape arg 2022-05-14 00:29:30 +00:00
issue51925.go cmd/compile: don't inline fn with shape params, but passed no shape arg 2022-05-14 00:29:30 +00:00
issue52026.go cmd/compile: use dictionary to convert type to shaped interface type 2022-05-03 21:36:22 +00:00
issue52117.go cmd/compile: set correct package for vars/params/results from nested instantiation 2022-04-28 20:14:34 +00:00
issue52124.go cmd/compile/internal/noder: stop creating TUNION types 2023-01-26 21:43:08 +00:00
issue52228.go cmd/compile: always write fun[0] in incomplete itab 2022-04-12 17:06:19 +00:00
issue52241.go cmd/compile: allow exporting .rcvr ident 2022-05-06 21:07:37 +00:00
issue53254.go cmd/compile: don't use dictionary convert to shaped empty interface 2022-06-22 22:14:02 +00:00
issue53390.go cmd/compile: skip substituting closures in unsafe builtins arguments 2022-06-18 00:48:50 +00:00
issue53406.go cmd/compile: fix assert condition in generic method call 2022-06-22 16:25:18 +00:00
issue53419.go test: add regress test for #53419 2022-06-17 22:44:22 +00:00
issue53477.go test: add regress test for #53477 2022-06-21 15:00:37 +00:00
issue53762.go cmd/compile: fix type assert in dict pass 2022-07-13 16:06:45 +00:00
issue54135.go test: improve generic type assertion test 2022-08-01 20:44:41 +00:00
issue54225.go cmd/compile: skip emitting dictionaries with missing method expressions 2022-09-19 19:37:22 +00:00
issue54302.go cmd/compile: fix import/export of ODYNAMICDOTTYPE 2022-08-06 15:20:00 +00:00
issue54456.go cmd/compile: fix reflect naming of local generic types 2022-08-23 18:13:48 +00:00
issue54497.go cmd/compile: enable more inlining for unified IR 2022-08-18 17:26:40 +00:00
issue54535.go cmd/compile: fix unified IR's pointer-shaping 2022-08-23 18:14:10 +00:00
issue54537.go cmd/compile: fix "expression has untyped type" ICE in generic code 2022-08-23 18:13:59 +00:00
issue54765.go cmd/compile: reject not-in-heap types as type arguments 2022-08-31 23:52:00 +00:00
issue55101.go test: add regress test for issue 55101 2022-09-19 18:47:00 +00:00
issue58513.go cmd/compile/internal/noder: correct positions for synthetic closures 2023-02-27 23:07:49 +00:00
issue376214.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
list2.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
list.go all: fix some comments for method 2022-12-03 17:08:51 +00:00
listimp2.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
listimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
lockable.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
map.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
mapimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
maps.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
mapsimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
metrics.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
min.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
mincheck.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
minimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
mutualimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
nested.go cmd/compile: fix unified IR shapifying recursive instantiated types 2022-08-30 17:23:27 +00:00
nested.out cmd/compile: fix reflect naming of local generic types 2022-08-23 18:13:48 +00:00
ordered.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
orderedmap.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
orderedmapsimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
pair.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
pairimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
pragma.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
recoverimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
recoverimp.out
select.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
sets.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
setsimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
settable.go go/types, types2: correctly consider ~ (tilde) in constraint type inference 2022-03-01 23:48:58 +00:00
shape1.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
shape1.out
sliceimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
slices.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
smallest.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
smoketest.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
stringable.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
stringer.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
stringerimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
struct.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
structinit.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
subdict.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
sum.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
tparam1.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
typelist.go go/types, types2: correctly consider ~ (tilde) in constraint type inference 2022-03-01 23:48:58 +00:00
typeswitch1.go test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch1.out test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch2.go test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch2.out test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch3.go test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch3.out test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch4.go test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch4.out test: additional generic type switch test coverage 2022-03-07 13:47:58 +00:00
typeswitch5.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
typeswitch5.out
typeswitch6.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
typeswitch6.out
typeswitch7.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
typeswitch7.out
valimp.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00
value.go all: avoid use of cmd/compile -G flag in tests 2022-03-01 19:45:34 +00:00