diff options
| author | Björn Gustavsson <[email protected]> | 2018-06-27 13:48:21 +0200 | 
|---|---|---|
| committer | Björn Gustavsson <[email protected]> | 2018-06-27 14:01:52 +0200 | 
| commit | c221bb38a80f8c3c4263ebdd609ff8ae6e5d117f (patch) | |
| tree | ae6c51ad3bde8c727a2bd4b533b974550d389f92 /erts/etc/unix/Install.src | |
| parent | a0ae44f324576104760a63fe6cf63e0ca31756fc (diff) | |
| download | otp-c221bb38a80f8c3c4263ebdd609ff8ae6e5d117f.tar.gz otp-c221bb38a80f8c3c4263ebdd609ff8ae6e5d117f.tar.bz2 otp-c221bb38a80f8c3c4263ebdd609ff8ae6e5d117f.zip | |
Fix internal compiler error for map_get/2
Code such as that the following:
    Val = map_get(a, Map),
    Map#{a:=z}   %Could be any map update
would incorrectly cause an internal consistency check failure:
   Internal consistency check failed - please report this bug.
   Instruction: {put_map_exact,{f,0},{x,0},{x,0},1,{list,[{atom,a},{atom,z}]}}
   Error:       {bad_type,{needed,map},{actual,term}}:
Update beam_validator so that it understands that the second
argument for map_get/2 is a map.
Diffstat (limited to 'erts/etc/unix/Install.src')
0 files changed, 0 insertions, 0 deletions
