diff options
author | Hans Bolinder <[email protected]> | 2016-02-03 09:08:53 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-02-03 09:08:53 +0100 |
commit | f7acd46a6497720414d6f281967c2fe370b54415 (patch) | |
tree | fd8a4e1c296f18ecb2b6bf9048c6b687b2c19ab0 /lib/tools/src | |
parent | 876af25b600bf698cac95cd1902fa16aeecc0c7e (diff) | |
parent | 4d12129c7a6e4179af0efe6c22496812bc435a11 (diff) | |
download | otp-f7acd46a6497720414d6f281967c2fe370b54415.tar.gz otp-f7acd46a6497720414d6f281967c2fe370b54415.tar.bz2 otp-f7acd46a6497720414d6f281967c2fe370b54415.zip |
Merge branch 'hb/tools/fix_bc_bug/OTP-13277' into maint
* hb/tools/fix_bc_bug/OTP-13277:
tools: Add a Cover test
tools: Fix wrong instrumentation of binary comprehensions
Diffstat (limited to 'lib/tools/src')
-rw-r--r-- | lib/tools/src/cover.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/src/cover.erl b/lib/tools/src/cover.erl index 0ae5c7978d..d16ca7f406 100644 --- a/lib/tools/src/cover.erl +++ b/lib/tools/src/cover.erl @@ -2005,7 +2005,7 @@ munge_expr({lc,Line,Expr,Qs}, Vars) -> {{lc,Line,MungedExpr,MungedQs}, Vars3}; munge_expr({bc,Line,Expr,Qs}, Vars) -> {bin,BLine,[{bin_element,EL,Val,Sz,TSL}|Es]} = Expr, - Expr2 = {bin,BLine,[{bin_element,EL,?BLOCK1(Val),Sz,TSL}|Es]}, + Expr2 = {bin,BLine,[{bin_element,EL,Val,Sz,TSL}|Es]}, {MungedExpr,Vars2} = munge_expr(Expr2, Vars), {MungedQs, Vars3} = munge_qualifiers(Qs, Vars2), {{bc,Line,MungedExpr,MungedQs}, Vars3}; |