[Issue 2610] const/invariant(immutable) class don't have constructor

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2610

Andrei Alexandrescu  changed:

   What|Removed |Added

Version|2.023   |D2

--


[Issue 2610] const/invariant(immutable) class don't have constructor

2010-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2610



--- Comment #3 from Haruki Shigemori  2010-05-18 19:59:09 
PDT ---
(In reply to comment #1)
> You closed this bug as fixed, but what was the resolution?

Sorry. I should have written a reason.

(In reply to comment #2)
> This code compiles and runs fine on dmd v.2.046.
> 
> immutable class A {
>   string s;
>   this() {
> s = "hoge";
>   }
> }
> void main() {
>   A a = new A;
> }

Thanks!

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


[Issue 2610] const/invariant(immutable) class don't have constructor

2010-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2610


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #2 from bearophile_h...@eml.cc 2010-05-18 11:53:01 PDT ---
This code compiles and runs fine on dmd v.2.046.

immutable class A {
  string s;
  this() {
s = "hoge";
  }
}
void main() {
  A a = new A;
}

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


[Issue 2610] const/invariant(immutable) class don't have constructor

2010-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2610


nfx...@gmail.com changed:

   What|Removed |Added

 CC||nfx...@gmail.com


--- Comment #1 from nfx...@gmail.com 2010-05-18 11:22:08 PDT ---
You closed this bug as fixed, but what was the resolution?

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


[Issue 2610] const/invariant(immutable) class don't have constructor

2010-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2610


Haruki Shigemori  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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