Closed andy-morris closed 4 years ago
Urgh, I thought that import qualified Mod as M
brought the module into scope as both M
and Mod
, but it doesn't, so they also have to be qualified with the right thing...
Currently the generated code uses the original fully-qualified name. Which might mean a duplicated import, but at least it works for now
The data types passed into
extensible
have all their names unqualified, so the code generated byextendFoo
does too, which means it breaks if names are imported qualified.