November 11, 2012 [Issue 7019] implicit constructors are inconsistently allowed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | http://d.puremagic.com/issues/show_bug.cgi?id=7019 --- Comment #10 from github-bugzilla@puremagic.com 2012-11-11 00:01:14 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f51a4268bcf42e14ef40bdc0137399cddc965f03 fix Issue 7019 - implicit constructors are inconsistently allowed https://github.com/D-Programming-Language/dmd/commit/2daf24fd4a036331d3428f9381c65a9be3b12319 Merge pull request #1213 from 9rnsr/fix7019 Issue 7019 - implicit constructors are inconsistently allowed -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 02, 2012 [Issue 7019] implicit constructors are inconsistently allowed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | http://d.puremagic.com/issues/show_bug.cgi?id=7019 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #11 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-02 11:17:18 PST --- *** Issue 7673 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: ------- |
December 23, 2012 [Issue 7019] implicit constructors are inconsistently allowed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | http://d.puremagic.com/issues/show_bug.cgi?id=7019 --- Comment #12 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-23 06:17:09 PST --- *** Issue 7152 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: ------- |
December 27, 2012 [Issue 7019] implicit constructors are inconsistently allowed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | http://d.puremagic.com/issues/show_bug.cgi?id=7019 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs@eml.cc --- Comment #13 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-27 09:04:48 PST --- *** Issue 9217 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: ------- |
January 10, 2013 [Issue 7019] implicit constructors are inconsistently allowed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | http://d.puremagic.com/issues/show_bug.cgi?id=7019 Denis Shelomovskij <verylonglogin.reg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |verylonglogin.reg@gmail.com --- Comment #14 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-01-10 11:58:19 MSK --- A testcase from dmd pull #1213 discussion https://github.com/D-Programming-Language/dmd/pull/1213#issuecomment-10402603 --- struct S { this(int) { } } struct S2 { S s; } void f(S s) { } // explicit, there is S here: S s = 5; // ok // implicit, there is no S here: static assert(!__traits(compiles, f(5))); // ok static assert(!__traits(compiles, { S2 s2 = 5; })); // ok static assert(!__traits(compiles, { S2 s2 = S2(5); })); // ok static assert(!__traits(compiles, { S2 s2 = { 5 }; })); // fails static assert(!__traits(compiles, { S2 s2 = { s: 5 }; })); // fails --- -- 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