[MacRuby-devel] Creating a pdf : Cocoa to MacRuby translation
Eloy Duran
eloy.de.enige at gmail.com
Fri Nov 5 13:55:34 PDT 2010
Normally this is not a bug. Most people lazy initialize instance variables, but you will get warned if you ask it to be more verbose. However, I have been unable to trigger it on MacRuby myself:
% ruby19 -w -e '!@foo'
-e:1: warning: instance variable @foo not initialized
% macruby -w -e '!@foo'
On 5 nov 2010, at 18:10, Jordan K. Hubbard wrote:
>
> On Nov 4, 2010, at 7:19 PM, Julien Jassaud wrote:
>
>>>> This do produces a pdf but it is completely empty. Also, MacRuby complains when called with the -w option :
>>>>
>>>> $ macruby -w cocoapdf.rb
>>>> unknown: warning: instance variable __octype__ not initialized
>
> That still seems like a bug, however. Have you filed a bug report on it? Thanks.
>
> - Jordan
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list