Ruk33 / vrJASS

A just-for-fun programming language which compiles down to JASS (Warcraft 3). It aims to improve and replace the beloved vJASS.
6 stars 3 forks source link

do not allow thistype in parameters #21

Closed Ruk33 closed 2 years ago

Ruk33 commented 8 years ago
struct foo
  public method baz takes thistype s
  endmethod
endstruct

struct bar extends foo
  int a
  public method baz takes thistype s
    set s.a = N
  endmethod
endstruct

call bar.create().baz(foo.create()) // foo does not have 'a' property!