[Gambas-user] Issue 45 in gambas: error on completion code: IDE propagates bad data type in property declaration to property methods

gambas at ...2524... gambas at ...2524...
Tue Mar 1 11:11:56 CET 2011


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 45 by fabianfl... at ...626...: error on completion code: IDE  
propagates bad data type in property declaration to property methods
http://code.google.com/p/gambas/issues/detail?id=45

When writing a property and fails to specify properly its data type, Gambas  
IDE spreads my error onto the _Write and _Read methods.

Version: TRUNK
Revision: r3534
Operating system: Linux
Distribution: Ubuntu
Architecture: x86
GUI component: QT3 / QT4 / GTK+
Desktop used: KDE

To reproduce this behavior, just write in the IDE something like that:

PROPERTY name AS bye

bye is an intentional error (bye instead byte)

Then just hit the Enter key.

The result is something like that:


   Private Function name_Read() As Bye

   End

Private Sub name_Write(Value As Bye)

End





More information about the User mailing list