[Issue 20700] Forward references leads to `extern(C++, class|struct)` being ignored

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 3 07:06:32 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #10988 "[stable] Fix issue 20700 -  Forward references
leads to extern(C++, class|struct) being ignored" was merged into stable:

- 050e71dfeaa6f1bfd75845ee8baacf1940146e27 by Geod24:
  Fix issue 20700 - Fwd refs leads to extern(C++, class|struct) being ignored

  `Type`-derived AST nodes do not support the same kind of semantic analysis
that
  `Dsymbol`-derived one do. The issue was that in some codes, semantic analysis
on
  the type was performed before it was performed on the declaration,
  and chasing those cases turned out to be endless, hence the minor
refactoring.

https://github.com/dlang/dmd/pull/10988

--


More information about the Digitalmars-d-bugs mailing list