Laurent Sansonetti
lsans****@apple*****
Thu Dec 6 02:47:28 JST 2007
On Dec 5, 2007, at 6:35 PM, Laurent Sansonetti wrote: >> I'm anyway going to fix trunk to not crash and return the existing >> class instead. > > Done in r2153. Better behavior in r2155, before returning the class, a warning is printed in the console that says: /Volumes/Data/src/svn-rubycocoa/framework/build/Default/ RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:266: warning: Cannot create Objective-C class for Ruby class `Machine_Context', because another class is already registered in Objective-C with the same name. Using the existing class instead for the Ruby class representation. The developer therefore knows that he's creating in Ruby a class that already exists in Objective-C with the same name, and will change the code. Laurent