]> Cypherpunks repositories - gostls13.git/commit
cmd/compile, go/types: add missing space in error message
authorIan Lance Taylor <iant@golang.org>
Tue, 10 Sep 2024 20:27:56 +0000 (13:27 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 11 Sep 2024 16:19:00 +0000 (16:19 +0000)
commitec67622d04ea379ecd0dcff065267371cce69f72
tree7636ba72587a324cac32343f1751c655f1c3da88
parent9deda35ff81acb1dcb6fc66d69fa6da6ca4f5d87
cmd/compile, go/types: add missing space in error message

Otherwise "print(nil)" gets an error like
    use of untyped nil in argument to built-inprint

Change-Id: Iaa841df106f90787031dce75a49af69860a9dbc9
Reviewed-on: https://go-review.googlesource.com/c/go/+/611918
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/types2/builtins.go
src/go/types/builtins.go