• simonpj@microsoft.com's avatar
    Fix Trac #3813: unused variables in GHCi bindings · 85f969a6
    simonpj@microsoft.com authored
    In a GHCi stmt we don't want to report unused variables, 
    because we don't know the scope of the binding, eg
    
    	Prelude> x <- blah
    
    Fixing this needed a little more info about the context of the stmt,
    thus the new constructor GhciStmt in the HsStmtContext type.
    85f969a6
DsMeta.hs 84.4 KB