http://d.puremagic.com/issues/show_bug.cgi?id=7197


Geoffrey Brown <erkl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erkl...@gmail.com


--- Comment #2 from Geoffrey Brown <erkl...@gmail.com> 2012-01-25 10:00:46 PST 
---
Weird, it can be fixed by changing z to a const:

int foo(int[] x...) {
  return 0;
}
template bar(y...) {
  enum int bar = foo(y);
}
const int z = 1;
enum int w = bar!(z);
void main() {}

I'm unable to upgrade to 2.057 because of this bug, it works fine in 2.056.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to