Skip to content

A cast is only a cast if it names a type - #171

Merged
Zaneham merged 1 commit into
masterfrom
fix/cast-typename-test
Sep 3, 2026
Merged

Zaneham merged 1 commit into
masterfrom
fix/cast-typename-test

Conversation

@Zaneham

@Zaneham Zaneham commented Sep 3, 2026 •

Copy link
Copy Markdown
Owner

The parser treated any parenthesised identifier as a type name without asking whether it named one, so (a) + (b) compiled to b.

@Zaneham
Zaneham force-pushed the fix/cast-typename-test branch from b6eb566 to 3488670 Compare September 3, 2026 08:33
@Zaneham Zaneham added the CUDA CUDA frontend and CUDA-specific behaviour label Sep 3, 2026
@Zaneham
Zaneham merged commit c5a6c26 into master Sep 3, 2026
14 checks passed
@Zaneham
Zaneham deleted the fix/cast-typename-test branch September 3, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CUDA CUDA frontend and CUDA-specific behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant