Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
July 20, 2007 [Issue 1353] New: Can't use typeof() in base class list. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1353 Summary: Can't use typeof() in base class list. Product: D Version: 1.017 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: aziz.kerim@gmail.com class A { int a; } class B : typeof(new A) { int b; } According to the specs this is illegal, but why not allow it? -- |
July 23, 2007 [Issue 1353] Can't use typeof() in base class list. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1353 thomas-dloop@kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement OS/Version|Linux |All Platform|PC |All -- |
October 11, 2012 [Issue 1353] Can't use typeof() in base class list. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1353 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from yebblies <yebblies@gmail.com> 2012-10-12 05:03:44 EST --- https://github.com/D-Programming-Language/dmd/pull/1177 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 21, 2012 [Issue 1353] Can't use typeof() in base class list. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1353 --- Comment #2 from github-bugzilla@puremagic.com 2012-10-21 14:14:16 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ad2b0c14ad5beecbd6e579738357fe622cb3bff6 Fix Issue 1353 - Can't use typeof() in base class list. Remove the restriction that a base class must being with an identifier (or a dot) and accept any type during passing. The semantic checks give better error messages anyway. https://github.com/D-Programming-Language/dmd/commit/fb81572f58754d7a5a248bc46fb731e566fc2f83 Merge pull request #1177 from yebblies/issue1353 Enhancement 1353 - Can't use typeof() in base class list. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 21, 2012 [Issue 1353] Can't use typeof() in base class list. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1353 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Version|D1 & D2 |D2 Resolution| |FIXED --- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2012-10-21 14:15:38 PDT --- Added for D2 only. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 21, 2012 [Issue 1353] Can't use typeof() in base class list. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1353 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ogondza@gmail.com --- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> 2012-11-20 19:48:17 PST --- *** Issue 9048 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: ------- |
Copyright © 1999-2021 by the D Language Foundation