| This test checks the quick fix for "undeclared: f" that declares the | |
| missing function. See #47558. | |
| -- a.go -- | |
| package a | |
| func _() int { return f(1, "") } //@quickfix(re"f.1", re"unde(fined|clared name): f", x) | |
| -- @x/a.go -- | |
| @@ -3 +3 @@ | |
| -func _() int { return f(1, "") } //@quickfix(re"f.1", re"unde(fined|clared name): f", x) | |
| +func _() int { return f(1, "") } | |
| @@ -5 +5,4 @@ | |
| +func f(i int, s string) int { | |
| + panic("unimplemented") | |
| +} //@quickfix(re"f.1", re"unde(fined|clared name): f", x) | |
| + |