Closed
Description
Repro (assuming completeUnimported=true is configured):
- Create a new module with contents:
package main
func main() {
}
- Complete
rand.
. You should see suggestions from crypto/rand and math/rand. - Select
rand.Int
from "crypto/rand" - Delete line and save ("crypto/rand" import should disappear).
- Wait a second to make sure "crypto/rand" package handle gets GC'd 😉
- Complete
rand.
again. Now you only see untyped completions from "crypto/rand". I expected to see typed completions from "crypto/rand" and completions from "math/rand".
See https://youtu.be/VaOs1crVI4g
/cc @stamblerre @heschik