go/src/cmd/compile/internal/noder
Dan Scales b7b790a71a cmd/compile: fix CONVIFACE case converting interface to empty interface
We need an extra case in convertToDictionary. In the case of an operand
which is an interface and converting to an empty interface, we don't
want to get the run-time type from the dictionary (which would be the
run-time type of the interface). We want to do a type-assert to the
empty interface.

Change-Id: I414247210168153151272fab198bfe82ad7b1567
Reviewed-on: https://go-review.googlesource.com/c/go/+/342009
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
2021-08-17 13:23:13 +00:00
..
codes.go [dev.typeparams] cmd/compile: more incremental typecheck for unified IR 2021-07-10 04:02:52 +00:00
decl.go [dev.typeparams] cmd/compile: make sure closures inside generic funcs are not compiled 2021-08-06 18:50:46 +00:00
decoder.go [dev.typeparams] cmd/compile: record writer's stack at export data sync points 2021-06-18 06:33:12 +00:00
encoder.go [dev.typeparams] cmd/compile: record writer's stack at export data sync points 2021-06-18 06:33:12 +00:00
export.go [dev.typeparams] cmd/compile: scaffolding for export data experiments 2021-06-12 00:11:57 +00:00
expr.go [dev.typeparams] cmd/compile: do transformCall with non-shape type of call 2021-08-06 19:13:56 +00:00
frames_go1.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
frames_go17.go all: gofmt more (but vendor, testdata, and top-level test directories) 2021-08-13 20:45:17 +00:00
func.go [dev.typeparams] cmd/compile: add types2-based noder 2021-01-14 02:07:48 +00:00
helpers.go [dev.typeparams] cmd/compile: call transformArgs before early typecheckaste in noder 2021-08-09 19:43:09 +00:00
import.go [dev.typeparams] cmd/compile: scaffolding for export data experiments 2021-06-12 00:11:57 +00:00
irgen.go [dev.typeparams] cmd/compile: implement generic type switches 2021-08-09 18:41:45 +00:00
lex.go internal/buildcfg: move build configuration out of cmd/internal/objabi 2021-04-16 19:20:53 +00:00
lex_test.go
linker.go [dev.typeparams] cmd/compile: cleanup unified IR file format a little 2021-07-21 01:29:21 +00:00
noder.go [dev.typeparams] cmd/compile: enable generics syntax with -lang=go1.18 2021-07-02 14:55:39 +00:00
object.go [dev.typeparams] cmd/compile: fix small -G=3 issues for tests disabled in run.go 2021-07-16 18:30:16 +00:00
posmap.go [dev.regabi] cmd/compile: backport changes from dev.typeparams (9456804) 2021-01-25 01:31:37 +00:00
quirks.go [dev.typeparams] cmd/compile/internal/syntax: go/ast-style walk API 2021-06-23 22:23:16 +00:00
reader.go [dev.typeparams] cmd/compile: avoid redundant method wrappers in unified IR 2021-08-03 19:01:04 +00:00
reader2.go cmd/compile/internal/types2: merge Instantiate and InstantiateLazy 2021-08-14 15:14:35 +00:00
reloc.go [dev.typeparams] cmd/compile: cleanup unified IR file format a little 2021-07-21 01:29:21 +00:00
scopes.go [dev.typeparams] cmd/compile: add types2-based noder 2021-01-14 02:07:48 +00:00
sizes.go cmd/compile: fix gcSizes.Sizeof for a zero-sized struct 2021-04-06 13:01:37 +00:00
stencil.go cmd/compile: fix CONVIFACE case converting interface to empty interface 2021-08-17 13:23:13 +00:00
stmt.go [dev.typeparams] cmd/compile: call transformArgs before early typecheckaste in noder 2021-08-09 19:43:09 +00:00
sync.go [dev.typeparams] cmd/compile: cleanup unified IR file format a little 2021-07-21 01:29:21 +00:00
syncmarker_string.go [dev.typeparams] cmd/compile: fix missing sync implicit types 2021-06-16 16:30:37 +00:00
transform.go [dev.typeparams] cmd/compile: call transformArgs before early typecheckaste in noder 2021-08-09 19:43:09 +00:00
types.go [dev.typeparams] cmd/compile: use types2.Constraint() rather than types2.Bound() 2021-08-09 20:08:06 +00:00
unified.go [dev.typeparams] cmd/compile: cleanup unified IR file format a little 2021-07-21 01:29:21 +00:00
unified_test.go [dev.typeparams] cmd/compile: make TestUnifiedCompare insensitive to default -G level 2021-07-15 22:24:35 +00:00
validate.go [dev.typeparams] cmd/compile: fix small -G=3 issues for tests disabled in run.go 2021-07-16 18:30:16 +00:00
writer.go cmd/compile/internal/types2: rename TypeParams to TParamList 2021-08-14 15:15:20 +00:00