[Issue 11878] UFCS for base-2 literals too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 20 10:04:24 UTC 2020


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

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |b2.temp at gmx.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
It works on base2 literals.
It work on hex but the problem here was that f is an hex digit...

void zoo(int x) {}
void main() {
    33.zoo; // OK
    0b100001.zoo; // OK
    0x21.zoo; // OK
}

--


More information about the Digitalmars-d-bugs mailing list