Branch: Tag:

2014-12-04

2014-12-04 19:23:12 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);