You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Currently, we only ever generate imports of modules, even if your old import was importing a symbol from a module and you're using auto-alias. We should also have a flag like FROM that says to use symbol imports whereever possible; then FROM would say use module from-imports whereever possible.
(None of this affects KA much, since we generally disallow symbol imports, but the rest of the world uses them surprisingly much!)
The text was updated successfully, but these errors were encountered:
benjaminjkraft
changed the title
Alias should alow symbol imports
Alias should allow symbol imports
Mar 23, 2018
We don't use these at KA, but the rest of the world does. This was
mostly to convince myself we at least generate legal code. I also
included a skipped test for #22, which I wrote first.
Test plan: `make check`
Auditors: csilvers
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, we only ever generate imports of modules, even if your old import was importing a symbol from a module and you're using auto-alias. We should also have a flag like
FROM
that says to use symbol imports whereever possible; thenFROM
would say use module from-imports whereever possible.(None of this affects KA much, since we generally disallow symbol imports, but the rest of the world uses them surprisingly much!)
The text was updated successfully, but these errors were encountered: