Thread overview | |||||
---|---|---|---|---|---|
|
March 22, 2010 [Issue 3998] New: BasicType2 rule shouldn't have slice syntax | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3998 Summary: BasicType2 rule shouldn't have slice syntax Product: D Version: 2.041 Platform: All URL: http://digitalmars.com/d/2.0/declaration.html OS/Version: All Status: NEW Keywords: spec Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nobody@puremagic.com ReportedBy: jlquinn@optonline.net --- Comment #0 from Jerry Quinn <jlquinn@optonline.net> 2010-03-21 21:13:54 PDT --- It doesn't make sense to have array slice be part of the BasicType2 rule. This rule is for type constructs and array slices only make sense in expressions. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 22, 2010 [Issue 3998] BasicType2 rule shouldn't have slice syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jerry Quinn | http://d.puremagic.com/issues/show_bug.cgi?id=3998 Ellery Newcomer <ellery-newcomer@utulsa.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ellery-newcomer@utulsa.edu --- Comment #1 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2010-03-21 22:31:02 PDT --- (In reply to comment #0) > It doesn't make sense to have array slice be part of the BasicType2 rule. This rule is for type constructs and array slices only make sense in expressions. They aren't array slices. They're tuple slices, eg: template T(E...){ alias E T; } void main(){ alias T!(char,int,float) K; alias K[1..$] J; // (int, float) } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 24, 2012 [Issue 3998] BasicType2 rule shouldn't have slice syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jerry Quinn | http://d.puremagic.com/issues/show_bug.cgi?id=3998 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |INVALID --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2012-01-23 17:44:59 PST --- Ellery is right. -- 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