Skip to content

Commit

Permalink
Merge pull request #11000 from gasche/translattribute-fix
Browse files Browse the repository at this point in the history
fix a minor regression from #10462
  • Loading branch information
sadiqj committed Feb 10, 2022
2 parents 6aa8b02 + ea7af37 commit c8c51a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lambda/translattribute.ml
Original file line number Diff line number Diff line change
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 c8c51a7

Please sign in to comment.