digitalmars.D.bugs - [Issue 4230] New: version(unittest)
- d-bugmail puremagic.com (17/17) May 24 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4230
- d-bugmail puremagic.com (12/12) May 24 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4230
- d-bugmail puremagic.com (7/11) May 24 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4230
- d-bugmail puremagic.com (16/16) May 30 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4230
- d-bugmail puremagic.com (14/14) May 30 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4230
- d-bugmail puremagic.com (13/13) Jun 07 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4230
http://d.puremagic.com/issues/show_bug.cgi?id=4230
Summary: version(unittest)
Product: D
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: www.digitalmars.com
AssignedTo: nobody puremagic.com
ReportedBy: ellery-newcomer utulsa.edu
14:38:08 PDT ---
is not mentioned in the spec but probably should be
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 24 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4230
bearophile_hugs eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs eml.cc
unittest is written in the "Predefined Versions" list:
http://www.digitalmars.com/d/2.0/version.html
So this bug report can be closed.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 24 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4230 15:06:38 PDT ---unittest is written in the "Predefined Versions" list: http://www.digitalmars.com/d/2.0/version.html So this bug report can be closed.Or it could be put in the grammar and then the bug report can be closed -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 24 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4230
Leandro Lucarella <llucax gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |llucax gmail.com
PDT ---
BTW, unittest is mentioned in the documentation for D1 but it doesn't work:
$ cat u.d
version (unittest) {}
$ dmd -c u.d
u.d(1): identifier or integer expected, not unittest
I don't know if the documentation for D1 is wrong or the compiler is buggy.
http://www.digitalmars.com/d/1.0/unittest.html
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 30 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4230
PDT ---
And Ellery Newcomer is right, for both D1 and D2 the specs says:
VersionCondition:
version ( Integer )
version ( Identifier )
But "unittest" is not either an Integer or an Identifier (is a Keyword).
http://www.digitalmars.com/d/1.0/version.html
http://www.digitalmars.com/d/1.0/lex.html#keyword
http://www.digitalmars.com/d/2.0/version.html
http://www.digitalmars.com/d/2.0/lex.html#keyword
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 30 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4230
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla digitalmars.com
Resolution| |FIXED
14:42:30 PDT ---
This is for D2 only.
changeset 1580
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 07 2010









d-bugmail puremagic.com 