diff options
| author | Rob Pike <r@golang.org> | 2018-10-11 13:21:54 +1100 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2018-10-11 02:32:47 +0000 |
| commit | 9a9dc36f97bf57e186ab8183a27927abb9aecd61 (patch) | |
| tree | 5e610b53dfa713c89f0aa52184c29bb7495aa23f /src/os/executable_path.go | |
| parent | daf6f254336844ad8cf538640d81f0193988b62a (diff) | |
| download | go-9a9dc36f97bf57e186ab8183a27927abb9aecd61.tar.xz | |
text/template: explain that integer constants can overflow
This behavior is the same as in Go: constants can be coerced to int
and whether overflow occurs depends on how big an int is, but
this surprises people sometimes, so document it again here.
Fixes #25833.
Change-Id: I557995f1a1e8e871b21004953923d16f36cb9037
Reviewed-on: https://go-review.googlesource.com/c/141378
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/executable_path.go')
0 files changed, 0 insertions, 0 deletions
