The compiler is unable to type-check this expression in reasonable time #12

Open
opened 2025-12-29 04:20:10 +01:00 by adam · 0 comments
Owner

Originally created by @fqclovelal on GitHub (Mar 28, 2025).

Originally assigned to: @ivanvorobei on GitHub.

var body: some View {
ZStack {
ForEach(
self.matrix.flatten.map { IdentifiableIndexedBlock(indexedBlock: $0) }
) { block in
self.createBlock(block.item)
.frame(width: 65, height: 65, alignment: .center)
.position(x: CGFloat(block.index.0) * (65 + 12) + 32.5 + 12,
y: CGFloat(block.index.1) * (65 + 12) + 32.5 + 12)

                .transition(.blockAppear(from: self.blockEnterEdge))
            
        }
    }.frame(width: 320, height: 320, alignment: .center)
    .background(
        Rectangle()
            .fill(Color(red:0.72, green:0.66, blue:0.63, opacity:1.00))
    ).clipped().cornerRadius(6)
}
Originally created by @fqclovelal on GitHub (Mar 28, 2025). Originally assigned to: @ivanvorobei on GitHub. var body: some View { ZStack { ForEach( self.matrix.flatten.map { IdentifiableIndexedBlock(indexedBlock: $0) } ) { block in self.createBlock(block.item) .frame(width: 65, height: 65, alignment: .center) .position(x: CGFloat(block.index.0) * (65 + 12) + 32.5 + 12, y: CGFloat(block.index.1) * (65 + 12) + 32.5 + 12) .transition(.blockAppear(from: self.blockEnterEdge)) } }.frame(width: 320, height: 320, alignment: .center) .background( Rectangle() .fill(Color(red:0.72, green:0.66, blue:0.63, opacity:1.00)) ).clipped().cornerRadius(6) }
adam added the bug label 2025-12-29 04:20:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/SwiftUI#12