Skip to content

Deconstructing pointer to tuple in arguments causes ICE #6557

@DoctorAlpaca

Description

@DoctorAlpaca

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.

Metadata

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions