digitalmars.D.bugs - [Issue 9348] New: "tmpl!arg" syntax followed by "!is"
- d-bugmail puremagic.com (22/23) Jan 18 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9348
- d-bugmail puremagic.com (17/17) Jan 18 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9348
- d-bugmail puremagic.com (11/11) Jan 25 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9348
- d-bugmail puremagic.com (10/10) Jan 25 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9348
- d-bugmail puremagic.com (10/10) Feb 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9348
http://d.puremagic.com/issues/show_bug.cgi?id=9348 Summary: "tmpl!arg" syntax followed by "!is" Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: avinesworth mail.ru PST --- The following code gets rejected: property Object F(int E)() { return null; } unittest { assert (F!0 !is null); }Thoughts: there seems to be some syntactic ambiguity between "!is" as operator and "!" as template parameter list infix. IMHO, the expected behaviour in this case would be not to take operator for template parameter. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------Error: multiple ! arguments are not allowed
Jan 18 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9348 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, rejects-valid Platform|x86_64 |All Summary|"tmpl!arg" syntax followed |"tmpl!arg" syntax followed |by "!is" |by "!is" or "!in" OS/Version|Windows |All "!in" has same problem. property Object F(int E)() { return null; } assert (F!0 !in [new Object():1]); https://github.com/D-Programming-Language/dmd/pull/1507 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 18 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9348 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e127a7d694cd99feca52fedf9c5f8fedc37776eb fix Issue 9348 - "tmpl!arg" syntax followed by "!is" or "!in" https://github.com/D-Programming-Language/dmd/commit/d1af0a7534f5b580a3b61b23163573b642ce40f9 Issue 9348 - "tmpl!arg" syntax followed by "!is" or "!in" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 25 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9348 Martin Nowak <code dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |code dawg.eu Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 25 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9348 Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e127a7d694cd99feca52fedf9c5f8fedc37776eb fix Issue 9348 - "tmpl!arg" syntax followed by "!is" or "!in" https://github.com/D-Programming-Language/dmd/commit/d1af0a7534f5b580a3b61b23163573b642ce40f9 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 11 2013