diff options
author | Björn Gustavsson <[email protected]> | 2016-04-19 13:32:05 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-21 12:42:01 +0200 |
commit | b5d290306a9be6a22e63df34456a880074b324cc (patch) | |
tree | b8ce66133e68aed82be513495842e0a834e1f60b /lib/compiler/src | |
parent | 232cb70f33fa2618412b814b8f9aa78d1d20ef25 (diff) | |
download | otp-b5d290306a9be6a22e63df34456a880074b324cc.tar.gz otp-b5d290306a9be6a22e63df34456a880074b324cc.tar.bz2 otp-b5d290306a9be6a22e63df34456a880074b324cc.zip |
v3_core: Construct {badmap,Map} as literal if possible
Diffstat (limited to 'lib/compiler/src')
-rw-r--r-- | lib/compiler/src/v3_core.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/v3_core.erl b/lib/compiler/src/v3_core.erl index de775097e3..3299149457 100644 --- a/lib/compiler/src/v3_core.erl +++ b/lib/compiler/src/v3_core.erl @@ -784,7 +784,7 @@ badmap_term(_Map, #core{in_guard=true}) -> %% since it is not user-visible. #c_literal{val=badmap}; badmap_term(Map, #core{in_guard=false}) -> - #c_tuple{es=[#c_literal{val=badmap},Map]}. + c_tuple([#c_literal{val=badmap},Map]). map_build_pairs(Map, Es0, Ann, St0) -> {Es,Pre,St1} = map_build_pairs_1(Es0, St0), |