Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just ran into this failure while fixing a different bug: > ! grep 'ExportedLib(Type|Field)|unexportedMainFunc|test/main|main\.go|lib\.go' main.stderr [main.stderr] lib filename: A4Spnz0u.go goroutine 1 [running]: runtime/debug.Stack(...) runtime/debug/stack.go:24 +0x?? kso0S_A6.at6JKzwa(...) p8_ovZPW.go:1 +0x?? kso0S_A6.(*JKArRn6w).ExportedLibMethod(...) h4JncykI.go:1 +0x?? main.cQXA3D6d.func1(...) FaQ2WcAJ.go:1 main.cQXA3D6d(...) T7Ztgy1Q.go:1 +0x?? main.main(...) OHzKYhm3.go:1 +0x?? main filename: Myi8glib.go FAIL: testdata/scripts/reverse.txt:16: unexpected match for `ExportedLib(Type|Field)|unexportedMainFunc|test/main|main\.go|lib\.go` found in main.stderr: lib.go Note that "main.go" ended up obfuscated as "Myi8glib.go", which just so happens to match against "lib.go". Use longer filenames, so that the chances of collisions are near-zero.
- Loading branch information