[Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

gambas at ...2524... gambas at ...2524...
Tue Jul 3 19:01:58 CEST 2012


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

New issue 268 by emil.len... at ...626...: Can call non-static _unknown from a  
static context
http://code.google.com/p/gambas/issues/detail?id=268

1) Describe the problem.
You can call a non-static _unknown from a static context.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r4888

3) Provide a little project that reproduces the bug or the crash.
'Class1
Public a As Integer = 1337
Public Sub _unknown(...)
   Print a
End

In main:
Class1.blaha()

-> Segfault





More information about the User mailing list