Skip to content

Conversation

mbrandonw
Copy link
Member

With our latest changes we have macro code that expands to computing a big array and then reduceing on it. That can cause the compiler to error out because it takes too long to type check. So I've unrolled those reduces to be just a bunch of statements.

@mbrandonw mbrandonw requested a review from stephencelis October 3, 2025 13:14
@johankool
Copy link
Contributor

This fixes the compiler timeout issue for me. Thanks!

@stephencelis stephencelis merged commit 9eaafed into main Oct 3, 2025
3 checks passed
@stephencelis stephencelis deleted the fix-compile-time-problems branch October 3, 2025 18:10
bok- pushed a commit to bok-/swift-structured-queries-with-traits that referenced this pull request Oct 12, 2025
* Unroll reduces to statements in macro expansion.

* wip

---------

Co-authored-by: Stephen Celis <[email protected]>
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 14, 2025
* Unroll reduces to statements in macro expansion.

* wip

---------

Co-authored-by: Stephen Celis <[email protected]>
coenttb pushed a commit to coenttb/swift-structured-queries-postgres that referenced this pull request Oct 15, 2025
* Unroll reduces to statements in macro expansion.

* wip

---------

Co-authored-by: Stephen Celis <[email protected]>
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.

3 participants