summaryrefslogtreecommitdiff
path: root/test/upgrade_project/apps/dummy/src/dummy.app.src
diff options
context:
space:
mode:
authorFabian Linzberger <e@lefant.net>2011-09-22 15:01:22 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-10-20 16:37:41 +0200
commit176ec0e71e37c53b541cd1eed1abd04206b97199 (patch)
tree8e9260377536170de53027d38997a390d362ddcc /test/upgrade_project/apps/dummy/src/dummy.app.src
parent3c7a5804e9c24fb0f34e62e2d1603b07a723d61a (diff)
Work around functions not found in source
For parameterized modules, the beam code will have a compiler generated new/1 and instance/1 function. If while checking the beam, xref detects one of those is unused, the rebars xref wrapper will try to find the location of the definition of that function in the source code for the module (to give a more specific warning to the user). Since the function was generated by the compiler it does not actually exist in the source, and rebar crashes at that stage. This patch works around that issue.
Diffstat (limited to 'test/upgrade_project/apps/dummy/src/dummy.app.src')
0 files changed, 0 insertions, 0 deletions