diff options
| author | Alan Donovan <adonovan@google.com> | 2024-11-02 13:38:44 -0400 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2024-11-04 14:39:37 +0000 |
| commit | 9c5f5bd6d31a8751b8281bb062dd86106fd3b722 (patch) | |
| tree | 0a6003796bff2fa9c2e8360db33d331566ee38e1 /src/cmd/compile/testdata/script | |
| parent | 9c93d99c616b8708bed55781915f7256051ab91e (diff) | |
| download | go-9c5f5bd6d31a8751b8281bb062dd86106fd3b722.tar.xz | |
go/parser: set File{Start,End} correctly in all cases
...even when the file is empty or lacks a valid package decl.
+ test
Fixes #70162
Change-Id: Idf33998911475fe8cdfaa4786ac3ba1745f54963
Reviewed-on: https://go-review.googlesource.com/c/go/+/624655
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/cmd/compile/testdata/script')
0 files changed, 0 insertions, 0 deletions
