[Mono-bugs] [Bug 375291] New: Monodocs2html fails for generic types with array parameters

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 30 14:56:26 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=375291


           Summary: Monodocs2html fails for generic types with array
                    parameters
           Product: Mono: Doctools
           Version: 1.9.0
          Platform: PowerPC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Console
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: johannes at jroith.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:

Monodocs2html fails if a generating HTML for a generic type that declares an
array type as generic parameter.

Steps to reproduce the problem:



using System;
using System.Collections;
using System.Collections.Generic;

public class GenericDocFailure : IEnumerable<int[]>
{
        public IEnumerator<int[]> GetEnumerator ()
        {
                return null;
        }

        IEnumerator IEnumerable.GetEnumerator ()
        {
                return GetEnumerator ();
        }
}


Compile and generate docs for this with:

gmcs /doc:test.xml /target:library test.cs
monodocer --importslashdoc test.xml --assembly test.dll --path xmldocs
monodocs2html --source xmldocs --dest testdocs

Actual Results:

monodocs2html stops with this message:

GenericDocFailure

!WTF 2? arglist=System.Int32[; rest=System.Int32[An error occured while
generating testdocs//GenericDocFailure.html
Transformation terminated..


Expected Results:

The files should be generated.


How often does this happen? 

Always.


-- 
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