[Ironruby-core] New build errors on Mono

C.J. Adams-Collier cjac at colliertech.org
Mon Sep 15 13:17:03 EDT 2008


Thanks for the tips, Curt, JB.  I'll file a bug report with Novell and
hope Marek can build a repro himself.  I'm currently stealing time
just to run the build and report errors, so I don't really have time
to go too deep here.

Cheers,

C.J.


On Mon, Sep 15, 2008 at 09:58:31AM -0700, Curt Hagenlocher wrote:
> _traceListener.Call(new[] {
>     MutableString.Create("call"),              // event
>     fileName,                                  // file
>     RuntimeHelpers.Int32ToObject(lineNumber),  // line
>     scope.Method.DefinitionName,               // TODO: alias
>     new Binding(scope),                        // binding
>     module.IsSingletonClass ? ((RubyClass)module).SingletonClassOf : module // module
> });
> 
> I suspect that the Mono compiler is choking on the mix of reference types with one value type in the array -- the compiler will need to box DefinitionName to put it into an object[] array.  That should help you devise a repro.
> 
> I imagine you could force this to build by manually casting DefinitionName to an object.
> 
> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of C.J. Adams-Collier
> Sent: Montag, 15. September 2008 09:52
> To: ironruby-core at rubyforge.org
> Subject: [Ironruby-core] New build errors on Mono
> 
> Hey all,
> 
> Marek fixed the last build problem (Thanks Marek!).
> 
> Now we get a new one.
> 
> ./Runtime/RubyExecutionContext.cs(1399,41): error CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly Compilation failed: 1 error(s), 7 warnings
> 
> Details in attached log.  Sounds like something else I need to throw to Marek.  What do you folks think?
> 
> cjac at sanxiyn:~$ svn info /usr/src/svn/mono/  /usr/src/svn/mono/mcs /usr/src/svn/ironruby/ | grep -e '^URL' -e '^Revision'
> URL: svn://anonsvn.mono-project.com/source/trunk/mono
> Revision: 113037
> URL: svn://anonsvn.mono-project.com/source/trunk/mcs
> Revision: 113037
> URL: svn://rubyforge.org/var/svn/ironruby/trunk
> Revision: 144
> 
> 
> Cheers,
> 
> C.J.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080915/2740ffe1/attachment.bin>


More information about the Ironruby-core mailing list