Open anorth opened 4 years ago
If the types argument is empty, the resulting file imports io, fmt etc but doesn't use them, and so doesn't compile.
types
io
fmt
This can be worked around at the caller side, but it would be easier if this case were handled naturally by avoiding those imports if not needed.
If the
types
argument is empty, the resulting file importsio
,fmt
etc but doesn't use them, and so doesn't compile.This can be worked around at the caller side, but it would be easier if this case were handled naturally by avoiding those imports if not needed.