rust icon indicating copy to clipboard operation
rust copied to clipboard

Deconstructing pointer to tuple in arguments causes ICE

Open DoctorAlpaca opened this issue 13 years ago • 1 comments

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.

DoctorAlpaca avatar May 17 '13 14:05 DoctorAlpaca

This now works. Needs a test.

emberian avatar Aug 05 '13 17:08 emberian