www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4235] New: !in not working (D1)

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

           Summary: !in not working (D1)
           Product: D
           Version: unspecified
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: dbugs2 yahoo.com


--- Comment #0 from Random Name <dbugs2 yahoo.com> 2010-05-26 11:18:44 PDT ---
According to the D1 spec !in should be a valid syntax, however the compiler
outputs a syntax error when used. With a large enough code base the compiler
crashes.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 26 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4235


Masahiro Nakagawa <repeatedly gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |repeatedly gmail.com


--- Comment #1 from Masahiro Nakagawa <repeatedly gmail.com> 2010-05-26
12:19:09 PDT ---
I think D1 spec is incorrect. "!in" isn't listed at D1 changelog.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 26 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4235


Stewart Gordon <smjg iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code,
                   |                            |rejects-valid
                URL|                            |http://www.digitalmars.com/
                   |                            |d/1.0/expression.html
                 CC|                            |smjg iname.com


--- Comment #2 from Stewart Gordon <smjg iname.com> 2010-05-27 18:56:52 PDT ---
The spec is a more authoritative source than the changelog.

But still, changelogs should be complete.  A particular problem occurs if
something's noted in the changelog, but then later it is reverted without being
noted in the changelog.  See issue 926 for an example.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 27 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4235


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |spec
                 CC|                            |clugdbug yahoo.com.au


--- Comment #3 from Don <clugdbug yahoo.com.au> 2010-06-01 07:02:14 PDT ---
Do you have a test case for the crash?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 01 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4235



--- Comment #4 from Random Name <dbugs2 yahoo.com> 2010-06-02 13:57:00 PDT ---
I should not have posted about that crash in this report because it's probably
unrelated to !in. The way I can reproduce it in my code is if I modify a string
mixin from !(something in arr) to something !in arr. I have not tried to make a
minimal test case for it but a single const string with a mixin statement might
be enough.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 02 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4235


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |


--- Comment #5 from Don <clugdbug yahoo.com.au> 2010-06-04 06:06:42 PDT ---
Removing the ICE keyword from this bug since it has no test case. I have tried
many times to reproduce a crash, but there's no enough information.

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



--- Comment #6 from github-bugzilla puremagic.com 2012-01-23 17:56:48 PST ---
Commit pushed to
https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/e5a601f2000c61b56f7ddcfa722d8c875556cf53
fix Issue 4235

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


Walter Bright <bugzilla digitalmars.com> changed:

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


--- Comment #7 from Walter Bright <bugzilla digitalmars.com> 2012-01-23
17:57:37 PST ---
!in was never intended for D1, I removed it from the spec.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 23 2012