-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(slim_check): do not crash when binders contain a function type (#…
…11231) Previously ```lean import Mathlib open scoped BigOperators in example (n : ℕ) : ∑ f : Unit → Fin (n + 1), f () = 0 := by slim_check ``` failed with ``` application type mismatch SlimCheck.NamedBinder "a._@._hyg.23" (Unit → Fin (n + 1)) argument Unit → Fin (n + 1) has type Type : Type 1 but is expected to have type Prop : Type ```
- Loading branch information
1 parent
e8abc61
commit 557de17
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters