Skip to content

Commit

Permalink
Merge pull request #821 from factisresearch/fix-simplifier
Browse files Browse the repository at this point in the history
Fix profile build
  • Loading branch information
ndmitchell authored Jan 30, 2022
2 parents 06ed483 + 8fe4b0c commit 84beb23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Development/Shake/Internal/FilePattern.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ parseLit x = case split (== '*') x of

internalTest :: IO ()
internalTest = do
let x # y = when (parse x /= y) $ fail $ show ("FilePattern.internalTest",x,parse x,y)
let x # y =
let p = parse x
in when (p /= y) $ fail $ show ("FilePattern.internalTest",x,p,y)
"" # [Lit ""]
"x" # [Lit "x"]
"/" # [Lit "",Lit ""]
Expand Down

0 comments on commit 84beb23

Please sign in to comment.