]> Cypherpunks repositories - gostls13.git/commit
go/token: add (*File).End method
authorAlan Donovan <adonovan@google.com>
Wed, 12 Nov 2025 23:17:35 +0000 (18:17 -0500)
committerAlan Donovan <adonovan@google.com>
Mon, 17 Nov 2025 17:47:47 +0000 (09:47 -0800)
commit1297fae7081a3116d2097ce7cfcc0f89ba2cf0fc
tree0f189933c99e7e71de270a1745e08a7fb5f9dbf3
parent65c09eafdf316ef691f0f8eccbf860d2ef5f7c70
go/token: add (*File).End method

Also, use it in a number of places.

+ test, api, relnote

Fixes #75849

Change-Id: I44acf5b8190b964fd3975009aa407d7c82cee19b
Reviewed-on: https://go-review.googlesource.com/c/go/+/720061
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
api/next/75849.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/go/token/75849.md [new file with mode: 0644]
src/go/ast/issues_test.go
src/go/parser/interface.go
src/go/token/position.go
src/go/token/position_test.go
src/go/token/tree.go
src/go/types/resolver.go