[Ironruby-core] Using Local Variable in Silverlight

Tomas Matousek Tomas.Matousek at microsoft.com
Thu Jul 17 21:26:50 EDT 2008


Oh, I know what this is. Could you verify that the method is internal in the bits you're using?
The method should be public and it is in the current code.

Tomas

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Aaron Clauson
Sent: Tuesday, July 15, 2008 1:49 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Using Local Variable in Silverlight

Tomas Matousek wrote:
> What's the exception type and message?

The exception type is MethodAccessException and the message is:

"Ruby.Runtime.RubyTopLevelScope.TopMethodMissing(Microsoft.Scripting.Runtime.CodeContext,
System.Object, Ruby.Runtime.BlockParam, Microsoft.Scripting.SymbolId,
System.Object[])"

> Could you please file this as a bug?

I submitted a bug report on the RubyForge site but is hasn't shown up.
Hopefully that's just to do with it ebing moderated.

The original code snippet works if changed to:

ScriptScope scriptScope =
IronRuby.CreateRuntime().CreateScope("IronPython");
or
ScriptScope scriptScope =
IronRuby.CreateRuntime().CreateScope("jscript");

Regards,

Aaron
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list