[Issue 8154] Source of error is hidden when using default-parametrized tempalte-struct

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8154


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||andrej.mitrov...@gmail.com
 Resolution||INVALID


--- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-10-21 
14:06:41 PDT ---
You didn't actually instantiate it the first time:

This:
Bogus a;

Needs to be:
Bogus!() a;

It's unfortunate D doesn't allow the first case to work though.. but that's
probably another bug report.

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


[Issue 8154] Source of error is hidden when using default-parametrized tempalte-struct

2012-05-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8154


Dmitry Olshansky dmitry.o...@gmail.com changed:

   What|Removed |Added

   Keywords||diagnostic
Summary|Source fo error is hidden   |Source of error is hidden
   |when using  |when using
   |default-parametrized|default-parametrized
   |tempalte-struct |tempalte-struct


--- Comment #1 from Dmitry Olshansky dmitry.o...@gmail.com 2012-05-27 
05:52:04 PDT ---
the real problem is seen if replaced with:

Bogus!Policy a;

bug3.d(7): Error: undefined identifier _r, did you mean variable a?

That's what I'd expect with default instantation too.

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