Skip to content

Commit

Permalink
Fix profile build
Browse files Browse the repository at this point in the history
  • Loading branch information
tvh committed Jan 24, 2022
1 parent 6bb5a7e commit 8fe4b0c
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 8fe4b0c

Please sign in to comment.