www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8959] New: IsExpression should support syntax which has no Identifier in all cases

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959

           Summary: IsExpression should support syntax which has no
                    Identifier in all cases
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: k.hara.pg gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg gmail.com> 2012-11-03 09:14:37 PDT ---
From: http://dlang.org/expression#IsExpression
IsExpression now supports following syntax.

1.  is ( Type )
2.  is ( Type :  TypeSpecialization )
3.  is ( Type == TypeSpecialization )
4.  is ( Type Id )
5.  is ( Type Id :  TypeSpecialization )
6.  is ( Type Id == TypeSpecialization )
7a. is ( Type Id :  TypeSpecialization , TemplateParameterList )
7b. is ( Type Id == TypeSpecialization , TemplateParameterList )

When sorted by the presence or absence of Id:
1.  is ( Type )
2.  is ( Type :  TypeSpecialization )
3.  is ( Type == TypeSpecialization )
X.  is ( Type :  TypeSpecialization , TemplateParameterList )  // ?
Y.  is ( Type == TypeSpecialization , TemplateParameterList )  // ?

4.  is ( Type Id )  // 1 + Id
5.  is ( Type Id :  TypeSpecialization )  // 2 + Id
6.  is ( Type Id == TypeSpecialization )  // 3 + Id
7a. is ( Type Id :  TypeSpecialization , TemplateParameterList )  // X + Id
7b. is ( Type Id == TypeSpecialization , TemplateParameterList )  // Y + Id

I think X and Y should be supported from the view of language symmetry.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 03 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2012-11-04 04:29:58 PST ---
https://github.com/D-Programming-Language/dmd/pull/1255

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 04 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959



--- Comment #2 from github-bugzilla puremagic.com 2012-11-20 18:34:35 PST ---
Commit pushed to fix8959 at
https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/df2e07a8e473abfd757146966a788775819637b6
fix Issue 8959 - IsExpression should support syntax which has no Identifier in
all cases

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 20 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-01-11
17:54:01 PST ---
Fixed in 2.061 release.(In reply to comment #2)
 Commit pushed to fix8959 at
 https://github.com/D-Programming-Language/d-programming-language.org
 
 https://github.com/D-Programming-Language/d-programming-language.org/commit/df2e07a8e473abfd757146966a788775819637b6
 fix Issue 8959 - IsExpression should support syntax which has no Identifier in
 all cases

Where did this come from? The pull isn't merged yet. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 11 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959



--- Comment #4 from github-bugzilla puremagic.com 2013-03-06 09:10:25 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a9f8a9d69118469f2d936406e0574584940d6ce1
fix Issue 8959 - IsExpression should support syntax which has no Identifier in
all cases

https://github.com/D-Programming-Language/dmd/commit/c9a411a05b6026a924c95853ecfeae3d2ecc5117
Merge pull request #1255 from 9rnsr/fix8959

Issue 8959 - IsExpression should support syntax which has no Identifier in all
cases

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 06 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959



--- Comment #5 from github-bugzilla puremagic.com 2013-03-06 09:11:57 PST ---
Commits pushed to master at
https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/69bcff44ac05d5f26fb8c350b884e8b99228805f
fix Issue 8959 - IsExpression should support syntax which has no Identifier in
all cases

https://github.com/D-Programming-Language/d-programming-language.org/commit/05d4664cc2a5ecf4055a0ec77467a7187631d43c
Merge pull request #199 from 9rnsr/fix8959

[enh] Issue 8959 - IsExpression should support syntax which has no Identifier
in all cases

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 06 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 06 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8959



--- Comment #6 from github-bugzilla puremagic.com 2013-03-08 05:10:54 PST ---
Commit pushed to master at
https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/a33e21c6bfce5af31042a2e222a85cc498fe7a92
fix Issue 8959 - IsExpression should support syntax which has no Identifier in
all cases

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 08 2013