trifork / erjang

A JVM-based Erlang VM
http://www.erjang.org
Apache License 2.0
726 stars 62 forks source link

ets:new() should fail with 'badarg' if a named_table name is attempted reused #33

Closed eriksoe closed 14 years ago

eriksoe commented 14 years ago

To reproduce: evaluate {ets:new(foo,[named_table]), ets:new(foo,[named_table])}. Observed result: {foo,foo} Expected result: {foo,{'EXIT',{badarg,[{ets,new,[foo,[namedtable]]} | }}}

eriksoe commented 14 years ago

Fixed.