The compiler is unable to type-check this expression in reasonable time #99
andriyslyusar
started this conversation in
General
Replies: 1 comment
-
Hi @andriyslyusar, this isn't really a problem with the library but sadly just a limitation of the Swift compiler. However, I recommend trying again with Xcode 14.3 / Swift 5.8, as Apple made some big improvements to how result builders work, and that helps view compilation a lot. I am going to convert this into a discussion for now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I stumble on Xcode unable to compile the project with error
The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
.As an example I have SwiftUI view with 2
.fullScreenCover
and 1.sheet
:But in case I comment and leave single
.fullScreenCover(...)
everything is compiling and working.Checklist
main
branch of this package.Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
SwiftUI Navigation version information
0.7.1
Destination operating system
iOS 15
Xcode version information
14.2 (14C18)
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions