diff options
| author | Russ Cox <rsc@golang.org> | 2023-03-13 17:12:40 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-11 19:40:45 +0000 |
| commit | 3974029671ead7fa0bf093e4372d354c7e620800 (patch) | |
| tree | 1408f3731f9a0cb5ccb7d3fa31f84eb3fca04d2a /src/debug/dwarf | |
| parent | 830f54b70ed2ce0c28c8db30876aba67beed7ee3 (diff) | |
| download | go-3974029671ead7fa0bf093e4372d354c7e620800.tar.xz | |
go/ast: add File.GoVersion
For #57001, compilers and others tools will need to understand that
a different Go version can be used in different files in a program,
according to the //go:build lines in those files.
This CL adds a GoVersion string field to ast.File, to allow exposing this
per-file Go version information.
For #59033.
Change-Id: I3931ea86c237983d152964f48dce498bcb1f06aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/476276
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/debug/dwarf')
0 files changed, 0 insertions, 0 deletions
