language icon indicating copy to clipboard operation
language copied to clipboard

How do we expect tools to handle import shorthands?

Open leafpetersen opened this issue 4 years ago • 9 comments

@bwilkerson raised some concerns about the tooling experience for import shorthands. If we implement this proposal, there will now be essentially four (or more) different ways to write an import/export.

How do we expect tools to deal with this? Will we be deprecating the old syntax? Presumably not, since it is more general. If not, is this a configuration knob? "Add imports using ...."? Or do the tools try to guess based on existing uses? What if it's invalid to use the predominant syntax?

In general, are there usability issues we need to consider here?

cc @lrhn @munificent @eernstg @natebosch @jakemac53 @bwilkerson

leafpetersen avatar Oct 26 '21 16:10 leafpetersen