Thread overview
[Issue 23150] AA in operator does not work with static if
May 31, 2022
Adam D. Ruppe
May 31, 2022
anonymous4
May 31, 2022
Basile-z
Dec 17, 2022
Iain Buclaw
May 31, 2022
https://issues.dlang.org/show_bug.cgi?id=23150

Adam D. Ruppe <destructionator@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator@gmail.com

--- Comment #1 from Adam D. Ruppe <destructionator@gmail.com> ---
Note that
```
    static if((0 in [0: 0]) !is null) //This expression should be true.
```

works fine.

--
May 31, 2022
https://issues.dlang.org/show_bug.cgi?id=23150

--- Comment #2 from anonymous4 <dfj1esp02@sneakemail.com> ---
Not all operators work:
static if(!(0 in [0:0])){}

--
May 31, 2022
https://issues.dlang.org/show_bug.cgi?id=23150

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com

--- Comment #3 from Basile-z <b2.temp@gmx.com> ---
> if(!(0 in [0: 0]) !is null){}

this one does not work at run-time either

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=23150

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=23150

--- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/20114

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--