GHC 7.10.0.20150123 fixes
This commit is contained in:
committed by
Daniel Gröber
parent
340ff1e4a7
commit
e3812b49ec
@@ -92,7 +92,7 @@ getSrcSpanTypeForFnSplit modSum lineNo colNo = do
|
||||
varT <- Gap.getType tcm varPat' -- Finally we get the type of the var
|
||||
case varT of
|
||||
Just varT' ->
|
||||
let (L matchL (G.Match _ _ (G.GRHSs rhsLs _))) = match
|
||||
let (L matchL (G.Match _ _ _ (G.GRHSs rhsLs _))) = match
|
||||
in return $ Just (SplitInfo (getPatternVarName varPat') matchL varT' (map G.getLoc rhsLs) )
|
||||
_ -> return Nothing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user