]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: export OFUNCINST and OSELRECV2 nodes (for generic funct...
authorDan Scales <danscales@google.com>
Sun, 9 May 2021 18:38:34 +0000 (11:38 -0700)
committerDan Scales <danscales@google.com>
Fri, 21 May 2021 17:03:30 +0000 (17:03 +0000)
commitccbfbb1c3327fffe88dd6b6da550f4a0cd37db6e
treee54eac11914c8444e78acaa5e9f941ce9f3bfdc2
parent243076da64d251853ed7a69ce770e9fa71b5bf0d
[dev.typeparams] cmd/compile: export OFUNCINST and OSELRECV2 nodes (for generic functions)

Added new test typeparam/factimp.go and changed a bunch of other tests
to test exporting more generic functions and types.

Change-Id: I573d75431cc92482f8f908695cfbc8e84dbb36d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/321749
Trust: Dan Scales <danscales@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/typecheck/iexport.go
src/cmd/compile/internal/typecheck/iimport.go
test/typeparam/combine.go
test/typeparam/cons.go
test/typeparam/factimp.dir/a.go [new file with mode: 0644]
test/typeparam/factimp.dir/main.go [new file with mode: 0644]
test/typeparam/factimp.go [new file with mode: 0644]
test/typeparam/index.go
test/typeparam/listimp.dir/a.go
test/typeparam/listimp.dir/main.go
test/typeparam/lockable.go