Thread overview | |||||
---|---|---|---|---|---|
|
July 17, 2011 [Issue 6338] Immutability is lost for shared(immutable(T)) | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6338 --- Comment #1 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2011-07-17 06:36:18 PDT --- Actually, never mind the "expected" comment here. I don't know what to expect. :) It is probably better to keep the shared qualifier as well, not collapsing the types at all. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 17, 2011 [Issue 6338] Immutability is lost for shared(immutable(T)) | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6338 Jerry Quinn <jlquinn@optonline.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlquinn@optonline.net --- Comment #2 from Jerry Quinn <jlquinn@optonline.net> 2011-09-16 18:20:22 PDT --- I think the collapsing might be required. I was going to report this separately but it looks like a facet of your bug. import std.stdio; synchronized class foo { File file; this(string infile) { file.open(infile); } } ~/dmd2/linux/bin64/dmd -c junk.d junk.d(5): Error: function std.stdio.File.open (string name, in const(char[]) stdioOpenmode = "rb") is not callable using argument types (string) shared /home/jlquinn/dmd2/linux/bin64/../../src/phobos/std/stdio.d(292): Error: destructor std.stdio.File.~this () is not callable using argument types () The compiler (dmd 2.055) doesn't realize that shared(string) is equivalent to string. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 10, 2011 [Issue 6338] Immutability is lost for shared(immutable(T)) | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6338 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2011-11-10 01:42:21 PST --- *** This issue has been marked as a duplicate of issue 6922 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation