Skip to content

Exception handling causes internal compiler error (C1001) in certain scenarios #405

Closed

Description

This issue is relevant under two scenarios:

  • You have a try-catch(-finally) inside of a catch or finally
  • You have ARC inside of a catch or finally (since ARC uses exception handling)

This can cause an internal compiler error.

Workaround: While we are working on a fix this issue can be mitigated through moving the code inside the catch or finally into a separate function (and simply calling that function from the catch or finally where the code used to live before)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions