[Mono-bugs] [Bug 426385] New: mixed reference types in array cause error CS0826
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Sep 15 13:20:20 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=426385
Summary: mixed reference types in array cause error CS0826
Product: Mono: Compilers
Version: SVN
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: cjcollier at colliertech.org
QAContact: mono-bugs at lists.ximian.com
Found By: Community User
I don't understand the error, but the details are here:
http://rubyforge.org/pipermail/ironruby-core/2008-September/002860.html
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.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list