Commit Graph

2 Commits

Author SHA1 Message Date
Olly Betts 4dc621d804 Fix type deduction for certain cases
Fix type deduction for certain cases involving C-style casts, or
which are syntactically like a C-style cast applied to an unary
operator, such as: (7)*6

See #2796
2024-02-13 17:05:55 +13:00
Olly Betts 39e8508dfc Fix handling of enum initialised by typedef-ed cast
Regression introduced in 4.2.0.

Fixes #2796
2024-02-13 10:56:09 +13:00