Thread overview
[Issue 9125] mixin + textual import = order of declaration dependence
Dec 04, 2018
Dennis
Jun 30, 2019
Basile-z
Mar 21, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
December 04, 2018
https://issues.dlang.org/show_bug.cgi?id=9125

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl

--- Comment #3 from Dennis <dkorpel@live.nl> ---
Can be reduced to:
```
immutable int a = b;
mixin("immutable int b = 3;");
```

Output as of 2.083:
Error: undefined identifier b

It compiles when swapping the two lines or when removing the mixin and directly putting the declaration in the code.

--
June 30, 2019
https://issues.dlang.org/show_bug.cgi?id=9125

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

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

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=9125

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

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

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--