[Mono-bugs] [Bug 589069] Compiler cant compile method with generic type information

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 27 09:32:16 EDT 2010



--- Comment #13 from scott fluto <srfcanada at hotmail.com> 2010-04-27 13:32:15 UTC ---
I dont seem to get this error anymore but Im now getting a compiler error with
this method signature:

public void FindParentIndexAndDefinition(long localFlatIndex, List<long[]>
parentLocalIJKs,List<long[]> parentIJKRefineDef)

with this error trying to call this method which is strange, isnt long[] the
same as Int64[]:
Server/DomainModel/Subsurface/DiscretizedModel.cs(2643,44): error CS1503:
Argument `#2' cannot convert `System.Collections.Generic.List<long[]>'
expression to type `System.Collections.Generic.List<System.Int64[]>'

Im also getting this error which is strange given it says it cant cast it even
though its the exact same method sigature:
Server/DomainModel/Subsurface/DiscretizedModel.cs(841,10): error CS0266: Cannot
implicitly convert type
An explicit conversion exists (are you missing a cast?)

There are another 10 compiler errors trying to compile this class but most seem
to be related to having lists or collections in a generic type or method
signature so Ill see if I can get some sample tests to try but Im not sure if
any of these problems seem familar. Again, this all compiles ok on windows and
on mono 2.4.2

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list