wire icon indicating copy to clipboard operation
wire copied to clipboard

simplify anonymous import handling

Open reillywatson opened this issue 3 years ago • 0 comments

Anonymous imports were being special-cased and written out separately. They're not that special though, we can just count them as regular imports with the name "_".

This causes them to get grouped together with the other imports like one would expect, and simplifies the generator a bit.

Fixes #358.

reillywatson avatar May 10 '22 15:05 reillywatson