<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Yep, the linter is a bit harsh here.
It's suppose to deny all non-value keys, which technically is what
it does here .. but it is a bit harsh.<br>
<br>
I'll look at it.<br>
<br>
// Björn-Egil<br>
<br>
On 2014-04-30 15:32, Alexey Lebedeff wrote:<br>
</div>
<blockquote
cite="mid:CADOt_n_AT34vpWthYnQpGXnArswz0nOsjc1ZiMbcsEV2rsKFkQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>As soon as I add unary minus anywhere in a map key, it
breaks with "illegal map key" message:</div>
<div><br>
</div>
<div>Erlang/OTP 17 [erts-6.0] [source-07b8f44] [64-bit]
[smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]<br>
</div>
<div>Eshell V6.0 (abort with ^G)<br>
</div>
<div>3> #{ -1 => 1}. <br>
</div>
<div>* 1: illegal map key</div>
<div>4> #{ {a, -1} => 1 }.</div>
<div>* 1: illegal map key</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
</blockquote>
<br>
</body>
</html>