Branch: Tag:

2013-02-19

2013-02-19 15:11:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved diagnostics for invalid soft casts.

1346: Inside #if defined(NEW_ARG_CHECK)
   ref_push_type_value(n->type);    ref_push_type_value(type);    yytype_report(REPORT_ERROR, -  NULL, 0, NULL, -  NULL, 0, NULL, +  NULL, 0, type, +  NULL, 0, n->type,    2, "Soft cast of %O to %O isn't a valid cast.");    } else if (result_type == n->type) {    ref_push_type_value(n->type);