View Single Post
Old 08-22-2009, 06:37 PM   #33
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Flame_Phoenix, you got a problem with blizzard's retarded shadowing thing.


In scope DarkLightning you got something like:


Collapse JASS:
globals
    private boolexpr b

endglobals


        method SetProjectile takes nothing returns nothing
          /// ...
            local real b=
          /// ...
        endfunction

Somehow blizzard's retarder checker, then assumes all your instances of the global b are real, so whenever you use the boolexpr b, you get the bug.

This is so freakingly stupid. I think my solution to this would be to add different prefixes to globals and locals.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote