Error: function object.Object.dispose () does not match parameter types (Event)
Jacob Carlborg
doob at me.com
Tue Nov 24 11:54:43 PST 2009
On 11/24/09 12:49, Long Chang wrote:
> tango trunk add a method name dispose to Object. now build dmd-win32
> will throw this:
>
> custom\TableCursor.d(211): Error: function object.Object.dispose () does
> not match parameter types (Event)
> custom\TableCursor.d(211): Error: expected 0 arguments, not 1 for
> non-variadic function type void()
>
>
> rename all the dispose to Dispose will fiex this issure.
>
It would be nice to have the dispose methods to be called automatically.
What about adding "alias super.dispose dispose" or something to overload
the dispose method.
More information about the Digitalmars-d-dwt
mailing list