chore: change inferInstance and inferInstanceAs types
This commit is contained in:
parent
ae48feeb07
commit
b1faed895a
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ abbrev Function.comp {α : Sort u} {β : Sort v} {δ : Sort w} (f : β → δ) (
|
|||
abbrev Function.const {α : Sort u} (β : Sort v) (a : α) : β → α :=
|
||||
fun x => a
|
||||
|
||||
@[reducible] def inferInstance {α : Type u} [i : α] : α := i
|
||||
@[reducible] def inferInstanceAs (α : Type u) [i : α] : α := i
|
||||
@[reducible] def inferInstance {α : Sort u} [i : α] : α := i
|
||||
@[reducible] def inferInstanceAs (α : Sort u) [i : α] : α := i
|
||||
|
||||
set_option bootstrap.inductiveCheckResultingUniverse false in
|
||||
inductive PUnit : Sort u where
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue