[Ironruby-core] New build errors on Mono
Curt Hagenlocher
curth at microsoft.com
Mon Sep 15 12:58:31 EDT 2008
_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.
More information about the Ironruby-core
mailing list