Skip to content

fix: Allow union types in function returns - #444

Open
Ahajha wants to merge 2 commits into
withered-magic:mainfrom
Ahajha:trotta/fix-return-union
Open

Ahajha wants to merge 2 commits into
withered-magic:mainfrom
Ahajha:trotta/fix-return-union

Conversation

@Ahajha

@Ahajha Ahajha commented Oct 4, 2026

Copy link
Copy Markdown

We were expecting a single non-union type as the return type, now this covers both cases.

Fixes #441

Ahajha added 2 commits October 4, 2026 04:44
We were expecting a single non-union type as the return type, now this covers both cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot declare a union in a return type

1 participant