Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
owestphal committed Jul 31, 2023
1 parent c13b611 commit 7412e83
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ geben
github
https
letzten
Nächste
noch
positiven
Programm
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ implicits
ints
IOrep
len
Line
Linebreak
Linebreaks
mconcat
Expand All @@ -32,6 +33,7 @@ NTrace
nums
Occured
oneof
Perfprop
SATs
snd
Subterms
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@

# GHC LANGUAGE extension, HLINT options etc.
\{-# .* #-\}

# Umlaute
\b\w*[äöüßÄÖÜ]\w*\b
4 changes: 2 additions & 2 deletions src/Test/IOTasks/Z3.hs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ withGeneratedValue f (ValueGenerator g) sz = f <$> generate (g sz)

pathScript :: Path -> ScriptMode -> Bool -> Z3R (SatResult [String], String)
pathScript path mode checkOverflows = do
let (tyConstr,predConstr,overflConstr) = partitionPath path
let (tyConstr,predConstr,overflowConstr) = partitionPath path

goal <- mkGoal True False False
vars <- forM tyConstr $
Expand All @@ -149,7 +149,7 @@ pathScript path mode checkOverflows = do
goalAssert goal =<< z3Predicate goal t e (map fst vars)

when checkOverflows $
forM_ overflConstr $
forM_ overflowConstr $
\(OverflowConstraints ts e) ->
forM_ ts (\t -> assertOverflowChecks goal t e (map fst vars))

Expand Down

0 comments on commit 7412e83

Please sign in to comment.