| 1 |
Unimported completions has to find math/rand/v2 |
| 2 |
-- flags -- |
| 3 |
-min_go_command=go1.22 |
| 4 |
|
| 5 |
-- go.mod -- |
| 6 |
module unimported.test |
| 7 |
|
| 8 |
go 1.22 |
| 9 |
|
| 10 |
-- main.go -- |
| 11 |
package main |
| 12 |
var _ = rand.Int64 //@complete(re"()Int64", Int64, Int64N, x64, Uint64, Uint64N), diag("rand", re"undefined: rand") |
| 13 |
// ordering of these requires completion order be deterministic |
| 14 |
// for now, we do not know the types. Awaiting CL 665335 |
| 15 |
//@item(Int64, "Int64", "func (from \"math/rand/v2\")", "func") |
| 16 |
//@item(Int64N, "Int64N", "func (from \"math/rand/v2\")", "func") |
| 17 |
//@item(x64, "Uint64", "func (from \"math/rand\")", "func") |
| 18 |
//@item(Uint64, "Uint64", "func (from \"math/rand/v2\")", "func") |
| 19 |
//@item(Uint64N, "Uint64N", "func (from \"math/rand/v2\")", "func") |