• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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: 91
  • ReturnBugBug2.jpg
    ReturnBugBug2.jpg
    56.3 KB · Views: 65
Status
Not open for further replies.
Top