Closed VlasovRoman closed 9 years ago
Which revision are you using? I don't see use of any object.clear
. Assuming "object" is not meant literally, I took a few minutes to look for other invocations of a clear
method. They appear to be invocations of the dlangui.core.types.Ref.clear()
method, so I don't understand how they could be deprecated.
Apologies if I am not helping :|
Looking more closely I see there are several other clear()
methods defined in dlangui, but it looks to me like all invocations are calling these, and not the clear()
function described here.
object.clear () on which the compiler swears, is used for cleaning of dynamic and associative arrays. The project is compiled successfully if to replace array.clear () with destroy(array)
Fixed.
"alias object.clear" is depricated.