diff options
author | Björn Gustavsson <[email protected]> | 2019-01-31 14:34:25 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-01-31 14:34:25 +0100 |
commit | 81487129feb5823bf4c3a1721ce655d1e1616781 (patch) | |
tree | e4fe879714f2835cf9d04ec52d51789187674da6 /lib/compiler/src | |
parent | 71e7b98034ac00d9ee5428ed0602646e29851a29 (diff) | |
parent | 5f9b6873499882d32280883edaa97d7d0f526035 (diff) | |
download | otp-81487129feb5823bf4c3a1721ce655d1e1616781.tar.gz otp-81487129feb5823bf4c3a1721ce655d1e1616781.tar.bz2 otp-81487129feb5823bf4c3a1721ce655d1e1616781.zip |
Merge pull request #2119 from bjorng/bjorn/compiler/tuple-call/ERL-838/OTP-15552
Eliminate bogus warning when using tuple calls
Diffstat (limited to 'lib/compiler/src')
-rw-r--r-- | lib/compiler/src/v3_core.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compiler/src/v3_core.erl b/lib/compiler/src/v3_core.erl index c9517c3e51..27131bc3ab 100644 --- a/lib/compiler/src/v3_core.erl +++ b/lib/compiler/src/v3_core.erl @@ -2626,7 +2626,8 @@ cfun(#ifun{anno=A,id=Id,vars=Args,clauses=Lcs,fc=Lfc}, _As, St0) -> [],A#a.us,St2}. c_call_erl(Fun, Args) -> - cerl:c_call(cerl:c_atom(erlang), cerl:c_atom(Fun), Args). + As = [compiler_generated], + cerl:ann_c_call(As, cerl:c_atom(erlang), cerl:c_atom(Fun), Args). %% lit_vars(Literal) -> [Var]. |