Change information
Commit message:
go/types, types2: thread composite literal target through expressions
This change threads a type target through the major expression type
checking logic in Checker.expr and its related methods. For now,
this new argument isn't used.
This is done to reduce the surface area of upcoming changes.
For #12854
Change-Id: I0e21c010c5d0d6ea3fd6dd09b5289b1479a88f7f
Files:
- M src/cmd/compile/internal/types2/assignments.go
- M src/cmd/compile/internal/types2/builtins.go
- M src/cmd/compile/internal/types2/call.go
- M src/cmd/compile/internal/types2/decl.go
- M src/cmd/compile/internal/types2/expr.go
- M src/cmd/compile/internal/types2/index.go
- M src/cmd/compile/internal/types2/literals.go
- M src/cmd/compile/internal/types2/range.go
- M src/cmd/compile/internal/types2/stmt.go
- M src/cmd/compile/internal/types2/typexpr.go
- M src/go/types/assignments.go
- M src/go/types/builtins.go
- M src/go/types/call.go
- M src/go/types/decl.go
- M src/go/types/eval.go
- M src/go/types/expr.go
- M src/go/types/index.go
- M src/go/types/literals.go
- M src/go/types/range.go
- M src/go/types/stmt.go
- M src/go/types/typexpr.go
Change size: M
Delta: 21 files changed, 118 insertions(+), 110 deletions(-)
Branch: refs/heads/master