Skip to content

Commit 30fc2a5

Browse files
ianlancetaylorjproberts
authored andcommitted
test: recognize new gofrontend error message
The new gofrontend message matches other gofrontend error messages, so adjust the test to accept it. For golang#27938 For golang#51237 Change-Id: I29b536f83a0cf22b1dbdae9abc2f5f6cf21d522d Reviewed-on: https://go-review.googlesource.com/c/go/+/416014 Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Than McIntosh <[email protected]>
1 parent d4406d2 commit 30fc2a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/fixedbugs/issue27938.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
package p
1212

1313
type _ struct {
14-
F sync.Mutex // ERROR "undefined: sync|expected package"
14+
F sync.Mutex // ERROR "undefined: sync|expected package|reference to undefined name"
1515
}
1616

1717
type _ struct {
18-
sync.Mutex // ERROR "undefined: sync|expected package"
18+
sync.Mutex // ERROR "undefined: sync|expected package|reference to undefined name"
1919
}
2020

2121
type _ interface {
22-
sync.Mutex // ERROR "undefined: sync|expected package|expected signature or type name"
22+
sync.Mutex // ERROR "undefined: sync|expected package|expected signature or type name|reference to undefined name"
2323
}

0 commit comments

Comments
 (0)