[Issue 24025] Expressions contained in parentheses should not be assumed to be C casts
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jul  3 10:40:36 UTC 2023
    
    
  
https://issues.dlang.org/show_bug.cgi?id=24025
Dlang Bot <dlang-bot at dlang.rocks> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dmd pull request #15377 "Fix Issue 24025 - Expressions
contained in parentheses should not be …" fixing this issue:
- Fix Issue 24025 - Expressions contained in parentheses should not be assumed
to be C casts
  Allow `(identifier)` and `(BasicType)` when followed by a left parenthesis.
  These can be a function call or an implicit conversion - the latter may
  produce a semantic error (not a parse error).
https://github.com/dlang/dmd/pull/15377
--
    
    
More information about the Digitalmars-d-bugs
mailing list