Skip to content

Deconstructing pointer to tuple in arguments causes ICE #6557

Closed

Description

This function crashes the compiler:

fn foo(~(x, y): ~(int, int)) {}

Output:

error: internal compiler error: node_id_to_type: no type for node `unknown node (id=3)`

Using & or @ pointers does the same thing.

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

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions