[Issue 24025] Expressions contained in parentheses should not be assumed to be C casts
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 4 08:49:18 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24025
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #15377 "Fix Issue 24025 - Expressions contained in
parentheses should not be …" was merged into master:
- 9f782c456e31a4fad5027961d64c346d388f1b7e by Nick Treleaven:
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