[Issue 14564] [REG2.067] dmd -property -unittest combination causes compiler error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 21 23:30:15 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14564

--- Comment #11 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
(In reply to Walter Bright from comment #10)
> (In reply to Илья Ярошенко from comment #9)
> > (In reply to Walter Bright from comment #8)
> > > Any idea which of those 196 lines produced the regression?
> > 
> > All lines with call `_ctfeSkipOp` or `_ctfeSkipInteger`.
> 
> So, the whole PR? Should we just revert it?

Not only this PR! You need to revert half of Phobos if you want to fix this bug
by reverting something.
For example, this is line in std.uni:

    static bool pred(dchar c) {return !c.isWhite && c != '-' && c != '_';}

The error (the first in this bug report) occurs because c.isWhite has not
braces, not because my PR.

We need make the choice:
1. Remove -property option from compiler
OR
2. Add the -property option to the GitHub testing engine and fix ALL Phobos.

--


More information about the Digitalmars-d-bugs mailing list