Stream: t-compiler/rust-analyzer

Topic: re-exports in aliasing


matklad (Mar 16 2021 at 19:43, on Zulip):

Looks like something in auto-import now doesn't consider aliases

matklad (Mar 16 2021 at 19:43, on Zulip):

image.png

matklad (Mar 16 2021 at 19:44, on Zulip):

One doesn't need long type hints if the types themselves are long enough :-)

@Kirill Bulatov could this be duplicate detection?

Kirill Bulatov (Mar 16 2021 at 20:22, on Zulip):

When I tried to tackle this half a year ago, I've discovered that we don't store and expose anything related to type alias info: no relation to real types, visibility, etc.
So there's simply nothing in the hints logic trying to deal with aliases due to this reason.

That's one of those things that I'd love to fix but have no idea where to start with.

matklad (Mar 17 2021 at 08:08, on Zulip):

Ah, right, that's not a regression, that's a per-existing behavior. It's just that I didnt touch syntax for a long time

Last update: Jul 29 2021 at 07:45UTC