[Issue 4061] Eponymous template templates don't work without aliases

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4061


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||clugd...@yahoo.com.au
 Resolution||DUPLICATE


--- Comment #1 from Don clugd...@yahoo.com.au 2010-04-09 00:33:41 PDT ---
*** This issue has been marked as a duplicate of issue 242 ***

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


[Issue 242] template implicit template properties doesn't work

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=242


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 CC||simen.kja...@gmail.com


--- Comment #3 from Don clugd...@yahoo.com.au 2010-04-09 00:33:42 PDT ---
*** Issue 4061 has been marked as a duplicate of this issue. ***

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


[Issue 4071] Missing support to share memory and objects between DLLs and executable

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4071



--- Comment #8 from Jacob Carlborg d...@me.com 2010-04-09 02:26:03 PDT ---
That may actually a better idea, to let every binary handle its own
initialization. Then I guess there will be no problem with module constructors
that are run when they shouldn't.

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


[Issue 3982] [ICE] a.values on wrong AA

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3982


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

   Keywords||patch
 CC||clugd...@yahoo.com.au


--- Comment #1 from Don clugd...@yahoo.com.au 2010-04-09 02:28:20 PDT ---
PATCH: 
TypeAArray::getImpl(), mtype.c line 3906.


#endif
+// If there are global errors, TemplateInstance::semantic() 
+// will refuse to instantiate the template.
+// So we need to temporarily set errors to zero.
+int olderrors = global.errors;
+global.errors = 0;
ti-semantic(sc);
ti-semantic2(sc);
ti-semantic3(sc);
+global.errors += olderrors;
impl = ti-toAlias()-isStructDeclaration();

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


[Issue 3684] Stack overflow on wrong template instantiation syntax with typeof

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3684


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #1 from Don clugd...@yahoo.com.au 2010-04-09 05:59:47 PDT ---
Fixed DMD2.043.

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


[Issue 4075] New: [CTFE] forward reference error with auto

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4075

   Summary: [CTFE] forward reference error with auto
   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-04-09 10:26:59 PDT ---
auto foo() {
return 0;
}
enum int _ = foo();
void main() {}


dmd 2.043 outputs:

test.d(4): Error: forward reference to foo
test.d(4): Error: function expected before (), not __error of type int


(This bug is derived from a split of bug 3911.)

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


[Issue 3911] Associative array in CTFE crashes compiler

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3911


bearophile_h...@eml.cc changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #4 from bearophile_h...@eml.cc 2010-04-09 10:29:36 PDT ---
This bug was about two different problems, one of them is now fixed.
So I close this bug and move a simplified version of the code that generates
the error in bug 4075.

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


[Issue 3972] Regarding module with name different from its file name

2010-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3972



--- Comment #5 from bearophile_h...@eml.cc 2010-04-09 10:39:50 PDT ---
In dmd 2.043 now compiling spam.d generates the error:

spam.d(3): Error: module bar from file foo.d conflicts with another module bar
from file foo.d

That's not a a good error message, I am not able to understand it.
A better error message is like the following pair:

spam.d(2): Error: module 'test' has mismatched file name 'spam.d'.
foo.d(2): Error: module 'bar' has mismatched file name 'foo.d'.

Note that they are two errors, because both modules have a wrong/mismatched
name.

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