]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: refactor top-level typechecking in unified IR
authorMatthew Dempsky <mdempsky@google.com>
Thu, 1 Jul 2021 02:20:28 +0000 (19:20 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 1 Jul 2021 03:34:49 +0000 (03:34 +0000)
commit372b31273539b988fe887d7b7cc2ed14439278e6
tree4040b104adf7928f94e49779c8c71990fbcb870d
parentad7e5b219e3b4b2fe9775c946e427057154c1c33
[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>
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/unified.go