fjgandrade / sharpkit

Automatically exported from code.google.com/p/sharpkit
0 stars 0 forks source link

Exporting of nested classes not working? #364

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The exporting of types nested deeper than the second level does not seem to 
work with version 5.4.4.

In the following example, class C does not get exported.

C#:
[JsType(JsMode.Prototype, Filename = "test.js")]
public class A
{
    [JsType(JsMode.Prototype, Filename = "test.js")]
    public class B
    {
        [JsType(JsMode.Prototype, Filename = "test.js")]
        public class C
        {
        }
    }
}

Output:
/* Generated by SharpKit 5 v5.4.4 */

if (typeof(SharpKitTestBed) == "undefined")
    var SharpKitTestBed = {};
SharpKitTestBed.A = function (){
};
if (typeof(SharpKitTestBed.A) == "undefined")
    SharpKitTestBed.A = {};
SharpKitTestBed.A.B = function (){
};

Original issue reported on code.google.com by rglev...@gmail.com on 28 Aug 2014 at 6:52

GoogleCodeExporter commented 9 years ago

Original comment by sebastia...@gmail.com on 8 Oct 2014 at 5:07