Branch: Tag:

1997-01-22

1997-01-22 05:19:48 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

class A {}; class B {inherit A;}; now works, typechecking improved

Rev: src/compilation.h:1.3
Rev: src/las.c:1.13
Rev: src/pike_types.c:1.13
Rev: src/pike_types.h:1.3
Rev: src/program.c:1.14
Rev: src/program.h:1.8
Rev: src/testsuite.in:1.16
Rev: src/version.c:1.4
Rev: src/version.h:1.2

6:   #ifndef PIKE_TYPES_H   #define PIKE_TYPES_H    + #include "las.h" +    extern int max_correct_args;   extern struct pike_string *string_type_string;   extern struct pike_string *int_type_string;
29:   void type_stack_pop_to_mark();   void type_stack_reverse();   void push_type(unsigned char tmp); + void push_type_int(unsigned INT32 i);   void push_unfinished_type(char *s);   void push_finished_type(struct pike_string *type);   struct pike_string *pop_unfinished_type();
40:   struct pike_string *describe_type(struct pike_string *type);   TYPE_T compile_type_to_runtime_type(struct pike_string *s);   int match_types(struct pike_string *a,struct pike_string *b); - struct pike_string *index_type(struct pike_string *type); + struct pike_string *index_type(struct pike_string *type, node *n);   int check_indexing(struct pike_string *type, -  struct pike_string *index_type); +  struct pike_string *index_type, +  node *n);   int count_arguments(struct pike_string *s);   struct pike_string *check_call(struct pike_string *args,    struct pike_string *type);