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

gambas at ...2524... gambas at ...2524...
Thu Jul 5 00:24:38 CEST 2012


Comment #10 on 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

Now some more headache :)

Public Function _property() As Boolean
   Return False
End

Public Function _unknown(...) As String
   Return "hello"
End

Public Sub TestFunction()
   Print Me.uuh()
End

-> "Wanted Stream, got String", i.e. stack is corrupted.

And as you say, static unknown method called in dynamic context does not  
work yet, like it should by convention...





More information about the User mailing list