tools/cmd/guru/testdata/src
Robert Griesemer 4c772e4117 [release-branch.go1.10] cmd/guru: fix .golden file (fix build)
This regression is due to https://go-review.googlesource.com/c/go/+/100235
which made the go/scanner behavior match the compiler's scanner by
not modifying filenames in line directives in any form. Specifically,
relative filenames now remain relative. This makes it easier to reason
about the behavior of the scanner but may require clients to adjust
those filenames.

If removing the longer path in the .golden file is not satisfactory,
the (scanner) client may have to massage positions returned via line
directives; or better, the line directives are created with extended
path information.

R=​adonovan

Change-Id: I836571a6dafef5e6d81e4c7add203c994e107055
Reviewed-on: https://go-review.googlesource.com/101015
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
(cherry picked from commit c4b4e4b0fa)
Reviewed-on: https://go-review.googlesource.com/102798
Run-TryBot: Andrew Bonventre <andybons@golang.org>
2018-03-27 23:26:09 +00:00
..
alias x/tools: simplify and format code 2017-02-28 14:15:42 +00:00
calls cmd/guru: fix tests 2016-02-25 22:51:33 +00:00
calls-json cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
definition-json cmd/guru: fix tests now that go1.9 go/types returns fake packages 2017-03-08 23:16:52 +00:00
describe cmd/guru: fix tests now that go1.9 go/types returns fake packages 2017-03-08 23:16:52 +00:00
describe-json cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
freevars cmd/guru: freevars: reenable test of labels (and improve output) 2016-02-12 03:59:51 +00:00
implements cmd/guru: implements: if selected expr is a value, use its type 2016-04-28 14:33:14 +00:00
implements-json cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
implements-methods cmd/guru: fix tests 2016-02-25 22:51:33 +00:00
implements-methods-json cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
imports cmd/guru: fix and reenable failing test case 2017-04-14 23:25:34 +00:00
lib cmd/guru: fix and reenable failing test case 2017-04-14 23:25:34 +00:00
main cmd/guru: rename oracle to guru, copying it to a single package 2016-02-12 03:38:58 +00:00
peers x/tools: simplify and format code 2017-02-28 14:15:42 +00:00
peers-json cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
pointsto cmd/guru: fix tests 2016-02-25 22:51:33 +00:00
pointsto-json cmd/guru: support streaming plain and -json output 2016-04-11 19:51:55 +00:00
referrers [release-branch.go1.10] cmd/guru: fix .golden file (fix build) 2018-03-27 23:26:09 +00:00
referrers-json cmd/guru: fix tests now that go1.9 go/types returns fake packages 2017-03-08 23:16:52 +00:00
reflection cmd/guru: fix tests 2016-02-25 22:51:33 +00:00
softerrs cmd/guru: add workaround to handle inconsistency between go/types and gc 2016-11-23 20:09:00 +00:00
what x/tools/cmd/guru: fix golden files for what query 2017-03-04 20:46:07 +00:00
what-json x/tools/cmd/guru: fix golden files for what query 2017-03-04 20:46:07 +00:00
whicherrs cmd/guru: whicherrs: don't crash on dead code 2016-03-25 16:35:34 +00:00
README.txt cmd/guru: fix nil deref when position is not in Go source 2016-03-07 15:53:42 +00:00

README.txt

This is not a Go source file.
Used by TestIssue14684.