Open bergmark opened 10 years ago
This is done in Fay.Compiler.Decl:
Fay.Compiler.Decl
PatBind srcloc (PVar _ ident) Nothing (UnGuardedRhs _ rhs) (Just bdecls) -> compileUnguardedRhs toplevel srcloc ident (Let S.noI bdecls rhs)
This should also not throw away the srcloc, it can be kept in the Let.
Let
Move this to Desugar and add and throw an error on this case in the Decl module.
Decl
This is done in
Fay.Compiler.Decl
:This should also not throw away the srcloc, it can be kept in the
Let
.Move this to Desugar and add and throw an error on this case in the
Decl
module.