diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-03-17 16:53:37 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-03-17 17:47:37 +0100 |
commit | 5638ca15d05e9b05d64ade0e03492c13d020439b (patch) | |
tree | 0e06b2caf24f27dc80583fbf8cb3c42d80311d4c /lib/compiler/src/v3_kernel_pp.erl | |
parent | d92b9dc2aa02871a43fb23ff61dc002b47a14270 (diff) | |
download | otp-5638ca15d05e9b05d64ade0e03492c13d020439b.tar.gz otp-5638ca15d05e9b05d64ade0e03492c13d020439b.tar.bz2 otp-5638ca15d05e9b05d64ade0e03492c13d020439b.zip |
compiler: Transform M#{} to is_map(M)
Core should not understand M#{}
Instead transform M#{} to
case _cor0 of
<_cor1>
when call 'erlang':'is_map'
(_cor0) ->
_cor1
( <_cor2> when 'true' ->
primop 'match_fail'
('badarg')
-| ['compiler_generated'] )
end
Diffstat (limited to 'lib/compiler/src/v3_kernel_pp.erl')
0 files changed, 0 insertions, 0 deletions