AndreasVetter / monsterdebugger

Automatically exported from code.google.com/p/monsterdebugger
1 stars 0 forks source link

public var enabled has the same name to getter/setter enabled #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, 

Into the VERSION:Number = 2.0;

FDT return an error into MonsterDebugger class. 
The variable "enabled" may not have the same name as getter or setter at line 
165 column 14. 

Why not set the default value of enabled in the constructor?
line 178 : enabled = true;

cheers, 
Laurent

Original issue reported on code.google.com by l.deketelaere on 5 Feb 2009 at 7:36

GoogleCodeExporter commented 8 years ago
Sorry, I just see that getter / setter enabled are static and not the variable. 
:p

Original comment by l.deketelaere on 5 Feb 2009 at 8:27

GoogleCodeExporter commented 8 years ago
No problem! This is done so you can enable of disable De MonsterDebugger from a
instance or static call.

Original comment by ferdikoomenmobile@gmail.com on 6 Feb 2009 at 10:49