| 1 |
This test verifies gopls does not crash on fake "resolved" types. |
| 2 |
|
| 3 |
-- flags -- |
| 4 |
-ignore_extra_diags |
| 5 |
|
| 6 |
-- settings.json -- |
| 7 |
{ |
| 8 |
"completeUnimported": false |
| 9 |
} |
| 10 |
|
| 11 |
-- unresolved.go -- |
| 12 |
package unresolved |
| 13 |
|
| 14 |
func foo(any) { |
| 15 |
foo(func(i, j f //@complete(re"() \\/\\/") |
| 16 |
} |