aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-03-06 09:49:06 +0100
committerBjörn Gustavsson <[email protected]>2015-03-09 09:41:19 +0100
commitb99eeee59ae95548e935bcbc512f6488baa0c6ba (patch)
tree29cc90294d74ee732e2aa9f9a736d968f495df0f /lib/syntax_tools
parentc5e808c27beeef8cfc5eaa4ab37aeaaaef3db849 (diff)
downloadotp-b99eeee59ae95548e935bcbc512f6488baa0c6ba.tar.gz
otp-b99eeee59ae95548e935bcbc512f6488baa0c6ba.tar.bz2
otp-b99eeee59ae95548e935bcbc512f6488baa0c6ba.zip
v3_core: Eliminate the sloppiness-encouraging get_ianno/1 function
get_ianno/1 would retrieve either a bare annotation or an annotation wrapped in an #a{} record. In both cases, it would return a wrapped annotation. We can replace the calls to get_ianno/1 with calls to get_anno/1, because the argument is always an #iclause{} and all iclause records are always initialized with a wrapped annotation.
Diffstat (limited to 'lib/syntax_tools')
0 files changed, 0 insertions, 0 deletions