Branch: Tag:

2014-05-03

2014-05-03 09:41:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Improved type checking for program references.

Inherits and type declarations now complain about use of
deprecated symbols.

1614:   {    check_tree(n,0);    +  fix_type_field(n); +  +  if (!pike_types_le(n->type, inheritable_type_string) && +  (THIS_COMPILATION->lex.pragmas & ID_STRICT_TYPES)) { +  yytype_report(REPORT_WARNING, +  n->current_file, n->line_number, inheritable_type_string, +  n->current_file, n->line_number, n->type, +  0, "Not a valid object type.\n"); +  } +     resolv_class(n);    switch(TYPEOF(Pike_sp[-1]))    {