fix: use _mustInline in lambdas only
This commit is contained in:
parent
d11947abc0
commit
bc5b6272d8
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ where
|
|||
| .letE binderName type value body nonDep =>
|
||||
let idx ← modifyGet fun { nextIdx, localInfoMap } => (nextIdx, { nextIdx := nextIdx + 1, localInfoMap })
|
||||
let binderName' :=
|
||||
if mustInline then
|
||||
if mustInline && value.isLambda then
|
||||
.num `_mustInline idx
|
||||
else match binderName with
|
||||
| .num p _ => .num p idx
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue