diff options
author | Matthew Dempsky <mdempsky@google.com> | 2021-06-30 19:20:28 -0700 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2021-07-01 03:34:49 +0000 |
commit | 372b31273539b988fe887d7b7cc2ed14439278e6 (patch) | |
tree | 4040b104adf7928f94e49779c8c71990fbcb870d /src/cmd/compile/internal/typecheck/dcl.go | |
parent | ad7e5b219e3b4b2fe9775c946e427057154c1c33 (diff) | |
download | go-372b31273539b988fe887d7b7cc2ed14439278e6.tar.gz go-372b31273539b988fe887d7b7cc2ed14439278e6.zip |
[dev.typeparams] cmd/compile: refactor top-level typechecking in unified IR
This CL is a first step towards incremental typechecking during IR
construction within unified IR. Namely, all top-level declarations are
now typechecked as they're constructed, except for assignments (which
aren't really declarations anyway).
Change-Id: I65763a7659bf2e0f5e89dfe9e709d60e0fa4c631
Reviewed-on: https://go-review.googlesource.com/c/go/+/332097
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/dcl.go')
0 files changed, 0 insertions, 0 deletions