https://issues.dlang.org/show_bug.cgi?id=14632
Nick Treleaven <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Nick Treleaven <[email protected]> --- Reduced: struct Tuple(T...) { alias Types = T; Types expand; alias expand this; } void test() { Tuple!(int, int) point; auto newPoint = cast(Object)(point); } Error messages no longer use '__tup$n$' but could still be improved as per comment 0: onlineapp.d(10): Error: cannot cast expression point.__expand_field_0 of type int to object.Object onlineapp.d(10): Error: cannot cast expression point.__expand_field_1 of type int to object.Object --
