PR# 12693 .NET Eiffel classes redefines ToString() when it shouldn't.
Problem Report Summary
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:220.127.116.11) Gecko/20070309 Firefox/18.104.22.168
Synopsis: .NET Eiffel classes redefines ToString() when it shouldn't.
I noticed that when creating a custom NATIVE_EXCEPTION class in Eiffel, by deriving NATIVE_EXCEPTION, that the Eiffel compiler opts to redefine ToString() automatically. When calling NATIVE_EXCEPTION.to_string the result is the Eiffel class name, which is incorrect behavior for exceptions. NATIVE_EXCEPTION actually redefines SYSTEM_OBJECT.to_string and so the compiler should not redefine in my custom exception.
Problem Report Interactions
From:paulbates Date:2007/05/11 Status: Analyzed Download
I think this mechanism need more review so I'm reopening it.