Struct extends to struct.

Tom Jones

N/A
Reaction score
437
Am I the only one that gets syntax errors when extending a struct to another struct? Even this gives me errors:
JASS:
struct bla
    integer i
endstruct

struct test extends bla
endstruct
Gives me an undeclared variable, f__arg_this. I use Jass NewGen Pack 1.4c.

*Edit*
It's not that I got a problem, it's easy solved by manually declaring the global, however I thought it might be a bug with the NewGen pack.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
Bug of JassHelper.

It just forgot to declare the f__arg_this variable? :rolleyes:

It doesnt shows error when extending an interface, but only struct.

Edit -
Strange!
This doesn't syntax:
JASS:
interface ss
endinterface

struct ss2 
endstruct

struct sst extends ss
endstruct

struct ss3 extends sst
endstruct

struct ss4 extends ss2
endstruct
 

Cohadar

master of fugue
Reaction score
209
It is a bug and I think I read about it in jasshelper 0.9.9.8 changelog under *fixed*
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
Ah..
Forgot to reupdate my JassHelper back to 9.8 zz....

Since 1.4c is still using 9.7...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top