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

New issue 267 by emil.len...@gmail.com: Write properties with _unknown
http://code.google.com/p/gambas/issues/detail?id=267

1) Describe the problem.
The documentation says "If the _property is not implemented, then all  
unknown symbols will be methods."
However, when a property is written to by using a _unknown method, it is  
not checked whether _property is implemented or not. And if it isn't, a  
memory error occurs.

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 Sub _unknown(...)

   Print "unknown function"

End

And somewhere else:
Dim c As New Class1
c.uhh = 3

Result:
unknown function
gbx3: warning: circular references detected:
gbx3:    -1 Class1
gbx3: warning: -1 allocation(s) non freed.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to