feat: grind_pattern for Subtype.property (#11317)
This PR adds `grind_pattern Subtype.property => self.val`.
This commit is contained in:
parent
fd4ff1f7e2
commit
26b435fa4d
1 changed files with 2 additions and 0 deletions
|
|
@ -631,6 +631,8 @@ structure Subtype {α : Sort u} (p : α → Prop) where
|
|||
-/
|
||||
property : p val
|
||||
|
||||
grind_pattern Subtype.property => self.val
|
||||
|
||||
set_option linter.unusedVariables.funArgs false in
|
||||
/--
|
||||
Gadget for optional parameter support.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue