chore: mitigate noncomputable section issues in the code generator (#12453)
This is a mitigation for the fact that the upfront noncomputable checker currently doesn't error out early enough in certain situations so we violate invariants later on.
This commit is contained in:
parent
3b2944205b
commit
db12e64845
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ where
|
|||
| some ps => return ps
|
||||
| none =>
|
||||
let .decl fn := k | unreachable!
|
||||
let some sig ← getImpureSignature? fn | unreachable!
|
||||
let some sig ← getImpureSignature? fn | throwError "Failed to find LCNF signature for {fn}"
|
||||
return sig.params
|
||||
|
||||
/-- For each ps[i], if ps[i] is owned, then mark args[i] as owned. -/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue