set module name before running initial pass ( #285 )
test case to demonstrate requirement for setting module name before initial pass
Do imports/export calcs in InitialPass also
one newtype test failing, fix later
withModuleScope in InitialPass
Remove export calcs from Compiler
Cache stateModuleScopes
Don't reset _stateExports in Compiler
Don't bind locals in Compiler
Remove import filtering from Compiler
Remove unused compileForDocs
Fix compiler warnings
Formatting
Don't call compileNewTypeDecls during code generation
Formatting
Move compileNewTypeDecl from Decl to InitialPass
InitialPass unlessImported: Always calculate imports for modules
Remove old comment
use ModuleScope to resolve newtype names (all test cases pass again)
Fix TODO's (closes #285) (closes #286)