diff options
Diffstat (limited to 'libgo/go/go/token/position.go')
-rw-r--r-- | libgo/go/go/token/position.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/go/token/position.go b/libgo/go/go/token/position.go index 3375177..7306083 100644 --- a/libgo/go/go/token/position.go +++ b/libgo/go/go/token/position.go @@ -164,6 +164,7 @@ func (f *File) MergeLine(line int) { // Each line offset must be larger than the offset for the previous line // and smaller than the file size; otherwise SetLines fails and returns // false. +// Callers must not mutate the provided slice after SetLines returns. // func (f *File) SetLines(lines []int) bool { // verify validity of lines table |