Warning "Function xxxx hides another function"

Questions, tips and tricks and techniques for scripting in Servoy

Warning "Function xxxx hides another function"

Postby Peter de Groot » Tue Mar 05, 2013 3:57 pm

Hello all,

we are switching from servoy 5 to servoy 6, when I open globals.js I see the "Function xxxx hides another function" before all function in globals.js,
but I cannot figure out the meaning of this warning.

2013-03-05_1450.png
2013-03-05_1450.png (19.8 KiB) Viewed 2120 times


Can someone explain this warning?

Regards,

Peter
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: Warning "Function xxxx hides another function"

Postby jdbruijn » Tue Mar 05, 2013 6:06 pm

I think it means that you have another function with the same name (maybe in one of your modules)
Jos de Bruijn
Focus Feedback BV
Servoy Certified Developer
Image
jdbruijn
 
Posts: 492
Joined: Sun Apr 11, 2010 6:34 pm

Re: Warning "Function xxxx hides another function"

Postby Peter de Groot » Wed Mar 06, 2013 9:00 am

Jos, it has something to do with one of our modules, I removed all the modules form the main solution and the warning is gone.

Thanks for the hint.

Regards,

Peter

jdbruijn wrote:I think it means that you have another function with the same name (maybe in one of your modules)
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...


Return to Methods

Who is online

Users browsing this forum: No registered users and 8 guests