Skip to content

[Bug] crash on duplicate identifier in ForEach #456

@MiaKoring

Description

@MiaKoring
2026-02-21T21:33:02+0100 warning SwiftCrossUI: identifier=Hello, test! [SwiftCrossUI] duplicate identifier in ForEach; view state may not act as you would expect
Swift/Array.swift:1350: Fatal error: Index out of range

reproducable by pressing generate 3 times in GreetingGeneratorExample without changing the input

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions