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

RazvanN <razvan.nitu1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1...@gmail.com
          Component|dmd                         |phobos

--- Comment #1 from RazvanN <razvan.nitu1...@gmail.com> ---
I'm not sure this is a bug. Even if it is, it is not a dmd one. `scoped` is
implemented as a template function that returns a `struct Scoped`. `struct
Scoped` has an alias this to the class instance and it somehow gets messed up.
I suspect this is due to an internal bug in scoped.

--

Reply via email to