aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-01-29 12:59:24 +0100
committerBjörn Gustavsson <[email protected]>2015-02-11 09:57:47 +0100
commitd85d00be70ace6cbdffcf54300b6573dd0f9f771 (patch)
tree33728249db51fedbe7b93e03daf944ad0701c67b /lib/hipe
parentef029376067280869683776fc616f8514a2ff81a (diff)
downloadotp-d85d00be70ace6cbdffcf54300b6573dd0f9f771.tar.gz
otp-d85d00be70ace6cbdffcf54300b6573dd0f9f771.tar.bz2
otp-d85d00be70ace6cbdffcf54300b6573dd0f9f771.zip
v3_core: Use Core Erlang annotations in a type-safe way
Core Erlang annotations are supposed to be a list of terms. v3_core could temporarily stuff a record in the 'anno' field of a Core Erlang record. That will cause Dialyzer warnings if we would tighten the type specs for annotations. (We want to tighten the warnings in order to catch more real problems.) Avoid abusing the annotation by wrapping the entire Core Erlang record in a #isimple{} record. Reported-by: Kostis Sagonas
Diffstat (limited to 'lib/hipe')
0 files changed, 0 insertions, 0 deletions