Skip to content

Commit

Permalink
fix a minor regression from #10462
Browse files Browse the repository at this point in the history
  • Loading branch information
gasche committed Feb 9, 2022
1 parent 3b84d30 commit af9ee6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lambda/translattribute.ml
Expand Up @@ -245,6 +245,7 @@ let add_inline_attribute expr loc attributes =
(Warnings.Duplicated_attribute "inline")
end;
let attr = { attr with inline } in
check_local_inline loc attr;
check_poll_inline loc attr;
Lfunction { funct with attr = attr }
| expr, (Always_inline | Hint_inline | Never_inline | Unroll _) ->
Expand Down

0 comments on commit af9ee6c

Please sign in to comment.