<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 11 November 2013 21:38, Daniel Murphy <span dir="ltr"><<a href="mailto:yebblies@nospamgmail.com" target="_blank">yebblies@nospamgmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">"Manu" <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote in message<br>
news:mailman.355.1384158631.9546.digitalmars-d@puremagic.com...<br>
<div class="im">> immutable string[string] priorityMap = [<br>
> "1" : "blocker",<br>
> "2" : "critical",<br>
> "3" : "critical",<br>
> "4" : "major",<br>
> "5" : "major",<br>
> "6" : "major",<br>
> "7" : "minor",<br>
> "8" : "minor",<br>
> "9" : "trivial" ];<br>
><br>
> main.d(56): Error: non-constant expression ["1":"blocker", "2":"critical",<br>
> "3":"critical", "4":"major", "5":"major", "6":"major", "7":"minor",<br>
> "8":"minor", "9":"trivial"]<br>
><br>
> This is tedious, how long has it been now?<br>
> Seriously, static map's are super-important, they should be able to be<br>
> made<br>
> immutable, and also be able to be initialised.<br>
><br>
> Maybe this could be factored into the improvements for 2.065?<br>
><br>
<br>
</div>I think yes, it can be done for 2.065.  Someone remind me if we get close<br>
and it isn't done yet.<br></blockquote><div><br></div><div>I've just run into this again today. It's still very annoying.</div><div>Consider this a reminder? :)</div></div></div></div>