digitalmars.D.dwt - Error: function object.Object.dispose () does not match parameter
- Long Chang (7/7) Nov 24 2009 tango trunk add a method name dispose to Object. now build dmd-win32 wil...
- Jacob Carlborg (4/11) Nov 24 2009 It would be nice to have the dispose methods to be called automatically....
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.
Nov 24 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.
Nov 24 2009