Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue698 #716

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SAWScript/MGU.hs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ inferRecDecls ds =
$ sequence [ withExprPos pos $ inferE (patternLName p, e)
| Decl pos p _ e <- ds
]
sequence_ $ zipWith (constrainTypeWithPattern (error "FIXME")) ts pats'
sequence_ $ zipWith (constrainTypeWithPattern (patternLName (head pats))) ts pats'
ess <- generalize es ts
return [ Decl pos p (Just s) e1
| (pos, p, (e1, s)) <- zip3 (map getPos ds) pats ess
Expand Down
2 changes: 2 additions & 0 deletions stack.ghc-8.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,7 @@ extra-deps:
- yaml-0.11.2.0
- libyaml-0.1.2
- aeson-1.4.3.0
- QuickCheck-2.14
- splitmix-0.0.4
resolver: lts-12.26
allow-newer: false
2 changes: 2 additions & 0 deletions stack.ghc-8.6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@ extra-deps:
- config-value-0.6.3.1
- simple-get-opt-0.3
- base-orphans-0.8.2
- QuickCheck-2.14
- splitmix-0.0.4
resolver: lts-14.3
allow-newer: false
2 changes: 2 additions & 0 deletions stack.ghc-8.8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ extra-deps:
- base-orphans-0.8.2
- base-compat-0.10.5
- json-0.10
- QuickCheck-2.14
- splitmix-0.0.4
resolver: lts-15.1
allow-newer: false