http://d.puremagic.com/issues/show_bug.cgi?id=6310
Kenji Hara changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=6310
--- Comment #3 from kenn...@gmail.com 2011-07-20 03:22:10 PDT ---
One more test case.
---
void f()() {}
@safe int g(alias key)() {
typeof(key(0)) k; // line 3.
f();
return 0;
}
void main() {
g!((int
http://d.puremagic.com/issues/show_bug.cgi?id=6310
--- Comment #2 from kenn...@gmail.com 2011-07-14 13:36:08 PDT ---
4 more test cases: replace the contents of RT!(...) in the two comments by
'[T.init, T.init]' and 'void'.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab
http://d.puremagic.com/issues/show_bug.cgi?id=6310
--- Comment #1 from kenn...@gmail.com 2011-07-14 01:55:44 PDT ---
More sophisticated test case which may be due to a different cause.
--
template SL () {
enum SL = 1;
}
template RT(alias T) if (SL!() == 1