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

(cherry picked from commit c8c51a7)
  • Loading branch information
sadiqj authored and gasche committed Feb 10, 2022
1 parent f46f3ee commit a108b07
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 a108b07

Please sign in to comment.