File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -1146,10 +1146,6 @@ def updateViewWithFunctorName (view : InductiveView) : InductiveView :=
11461146 let newCtors := view.ctors.map (fun ctor => {ctor with declName := ctor.declName.updatePrefix (addFunctorPostfix ctor.declName.getPrefix)})
11471147 {view with declName := addFunctorPostfix view.declName, ctors := newCtors}
11481148
1149- def updateViewRemovingFunctorName (view : InductiveView) : InductiveView :=
1150- let newCtors := view.ctors.map (fun ctor => {ctor with declName := ctor.declName.updatePrefix (removeFunctorPostfix ctor.declName.getPrefix)})
1151- {view with declName := addFunctorPostfix view.declName, ctors := newCtors}
1152-
11531149private def elabInductiveViews (vars : Array Expr) (elabs : Array InductiveElabStep1) : TermElabM FinalizeContext := do
11541150 let view0 := elabs[0 ]!.view
11551151 let ref := view0.ref
You can’t perform that action at this time.
0 commit comments