diff options
author | Luis Rascao <[email protected]> | 2015-10-10 15:52:40 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-02-03 09:07:52 +0100 |
commit | 543330e6b1da49f022bf1541a01bb3a87a8c9e9c (patch) | |
tree | ad50cb5ffd9916283dd020c1967af281f857d8ee /lib/tools/src/xref_compiler.erl | |
parent | 876af25b600bf698cac95cd1902fa16aeecc0c7e (diff) | |
download | otp-543330e6b1da49f022bf1541a01bb3a87a8c9e9c.tar.gz otp-543330e6b1da49f022bf1541a01bb3a87a8c9e9c.tar.bz2 otp-543330e6b1da49f022bf1541a01bb3a87a8c9e9c.zip |
tools: Fix wrong instrumentation of binary comprehensions
When cover instruments binary comprehensions it's generating a
{block, ...} abstract code term inside a {bc, ...} term that is causing
the evaluation to fail at runtime. Removing the block statement
eliminates the error.
The template of a bit string comprehension cannot have a counter since
it is not allowed to be a block.
Diffstat (limited to 'lib/tools/src/xref_compiler.erl')
0 files changed, 0 insertions, 0 deletions