diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-03-06 17:59:09 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-03-17 17:47:34 +0100 |
commit | 70c968442a8e2afbae7fa485527920006bfe2031 (patch) | |
tree | 81dfe4e5d0974b69416c20e49252fa78f4a8119f /lib/compiler/test | |
parent | ea699f3510b464d6b65b30342f2ddd5912e127a7 (diff) | |
download | otp-70c968442a8e2afbae7fa485527920006bfe2031.tar.gz otp-70c968442a8e2afbae7fa485527920006bfe2031.tar.bz2 otp-70c968442a8e2afbae7fa485527920006bfe2031.zip |
compiler: Change Maps Core Format
Ex.
Instead of:
M~{~<K,V>}~
The format is now:
~{~<K,V>|M}~
This also removes a shift/reduce warning.
The changes in core_pp now requires compiler-5.0 to compile
because of is_map/1 guard, i.e. a need for a compiler with Maps know-how.
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/core_SUITE_data/map_core_test.core | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/core_SUITE_data/map_core_test.core b/lib/compiler/test/core_SUITE_data/map_core_test.core index 7ece8a8bbd..2aa853d450 100644 --- a/lib/compiler/test/core_SUITE_data/map_core_test.core +++ b/lib/compiler/test/core_SUITE_data/map_core_test.core @@ -67,7 +67,7 @@ module 'map_core_test' ['map_core_test'/0, (Val, V) in let <_cor5> = %% Line 21 - M~{~<1337,_cor4>,~<'val',_cor2>}~ + ~{~<1337,_cor4>,~<'val',_cor2>|M}~ in %% Line 21 apply 'call'/2 (_cor5, Vs) @@ -92,4 +92,4 @@ module 'map_core_test' ['map_core_test'/0, fun (_cor0) -> call 'erlang':'get_module_info' ('map_core_test', _cor0) -end
\ No newline at end of file +end |