diff options
author | Fredrik Gustafsson <[email protected]> | 2013-07-29 11:42:26 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-07-29 11:42:26 +0200 |
commit | 0481ecafa24dc60c6bca8afdda038dc2239c991d (patch) | |
tree | caa6cdc49a8702d0f94cdba70b75eb185b6c98ce /lib/compiler/src | |
parent | 6d3ee671a9c7a0ca9113bdedfd3f5ff630d8702f (diff) | |
parent | 874867a332b70ace8efc1e1e1f27e2bc31e9a297 (diff) | |
download | otp-0481ecafa24dc60c6bca8afdda038dc2239c991d.tar.gz otp-0481ecafa24dc60c6bca8afdda038dc2239c991d.tar.bz2 otp-0481ecafa24dc60c6bca8afdda038dc2239c991d.zip |
Merge branch 'nox/fix-comp-warnings/OTP-11212' into maint
* nox/fix-comp-warnings/OTP-11212:
Bootstrap
Silence a misleading warning with some comprehensions
Diffstat (limited to 'lib/compiler/src')
-rw-r--r-- | lib/compiler/src/v3_core.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/compiler/src/v3_core.erl b/lib/compiler/src/v3_core.erl index d6fdcb2b21..1195937d91 100644 --- a/lib/compiler/src/v3_core.erl +++ b/lib/compiler/src/v3_core.erl @@ -956,7 +956,8 @@ lc_tq(Line, E, [Fil0|Qs0], Mc, St0) -> args=[], clauses=[#iclause{anno=LAnno,pats=[], guard=Gs,body=Lps ++ [Lc]}], - fc=#iclause{anno=LAnno,pats=[],guard=[],body=[Mc]}}, + fc=#iclause{anno=LAnno#a{anno=[compiler_generated|LA]}, + pats=[],guard=[],body=[Mc]}}, [],St2}; false -> {Lc,Lps,St1} = lc_tq(Line, E, Qs0, Mc, St0), @@ -1101,7 +1102,8 @@ bc_tq1(Line, E, [Fil0|Qs0], AccVar, St0) -> clauses=[#iclause{anno=LAnno, pats=[], guard=Gs,body=Bps ++ [Bc]}], - fc=#iclause{anno=LAnno,pats=[],guard=[],body=[AccVar]}}, + fc=#iclause{anno=LAnno#a{anno=[compiler_generated|LA]}, + pats=[],guard=[],body=[AccVar]}}, [],St}; false -> {Bc,Bps,St1} = bc_tq1(Line, E, Qs0, AccVar, St0), |