diff options
author | alandonovan <adonovan@google.com> | 2018-11-21 14:57:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 14:57:52 -0500 |
commit | 7a86632119d7c1b04351b2aaecc9009eca46162a (patch) | |
tree | 8221065ad9f41d5643ea7a7fc18df506750163cc /resolve | |
parent | 4765c9775ae60c3b21462890d0f93d76d033902d (diff) | |
download | starlark-go-7a86632119d7c1b04351b2aaecc9009eca46162a.tar.gz |
all: use explicit URLs to refer to old Starlark issues (#20)
GitHub allows individual issues to be transferred but provides no bulk
mechanism---also, we've started reusing issue numbers---so I
transferred the few open issues and left the closed ones.
Diffstat (limited to 'resolve')
-rw-r--r-- | resolve/testdata/resolve.star | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/resolve/testdata/resolve.star b/resolve/testdata/resolve.star index 754882b..f832ee4 100644 --- a/resolve/testdata/resolve.star +++ b/resolve/testdata/resolve.star @@ -9,7 +9,8 @@ x = 1 _ = x --- -# premature use of global is not a static error; see issue 116. +# premature use of global is not a static error; +# see github.com/google/skylark/issues/116. _ = x x = 1 @@ -20,7 +21,7 @@ _ = x ### "undefined: x" --- # redeclaration of global x = 1 -x = 2 ### "cannot reassign global x declared at .*resolve.star:22:1" +x = 2 ### "cannot reassign global x declared at .*resolve.star:23:1" --- # Redeclaration of predeclared names is allowed. @@ -37,7 +38,8 @@ U = 1 # ok U = 1 ### "cannot reassign global U declared at .*/resolve.star" --- -# A global declaration shadows all references to a predeclared; see issue 116. +# A global declaration shadows all references to a predeclared; +# see github.com/google/skylark/issues/116. a = U # ok: U is a reference to the global defined on the next line. U = 1 |