http://d.puremagic.com/issues/show_bug.cgi?id=4021
Summary: [CTFE] AA rehash Product: D Version: future Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-03-28 06:37:43 PDT --- This program, with dmd 2.042: int foo() { int[int] aa = [1: 1]; aa.rehash; return 1; } enum _ = foo(); void main() {} Generates the errors: ...\dmd\src\druntime\import\object.di(318): Error: cannot evaluate _aaRehash(&this.p,(& D12TypeInfo_Hii6__initZ)) at compile time test.d(3): Error: cannot evaluate aa.rehash() at compile time test.d(6): Error: cannot evaluate foo() at compile time test.d(6): Error: cannot evaluate foo() at compile time -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------