chore: remove special case for extern constructors (#10257)
This is subsumed by the fix in #10256.
This commit is contained in:
parent
de38a16fa9
commit
9923a8d9f8
1 changed files with 0 additions and 3 deletions
|
|
@ -160,9 +160,6 @@ partial def lowerLet (decl : LCNF.LetDecl) (k : LCNF.Code) : M FnBody := do
|
|||
let env ← Lean.getEnv
|
||||
match env.find? name with
|
||||
| some (.ctorInfo ctorVal) =>
|
||||
if isExtern env name then
|
||||
return (← mkFap name irArgs)
|
||||
|
||||
let type ← nameToIRType ctorVal.induct
|
||||
if type.isScalar then
|
||||
let var ← bindVar decl.fvarId
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue