• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] (BUG) The Return of the Return Bug (XD)

Status
Not open for further replies.
Level 5
Joined
Dec 12, 2011
Messages
116
Hey guys.
I discovered the return bug few days ago.
Just for curiosity, for interest in seeing the WE not pointing an syntax error on it, I decided to just put the codes in my map and save it.

JASS:
function H2I takes handle h returns integer
     return h
     return 0
endfunction

function B2I takes boolean b returns integer
     return b
     return 0
endfunction

When I saved, I got errors.
The famous Return Bug just bugged with me :)P)

Take a look at the attachments.

Why, guys, why?

EDIT:
PS: I am using normal TFT editor, non-vJass, WE version 6059

hamsterpellet
 

Attachments

  • ReturnBugBug.jpg
    ReturnBugBug.jpg
    54.5 KB · Views: 96
  • ReturnBugBug2.jpg
    ReturnBugBug2.jpg
    56.3 KB · Views: 68
Status
Not open for further replies.
Top