Rosetta
Rosetta copied to clipboard
Public members of nested classes get emitted incorrectly
public static class Example {
private static class Inner
{
public const int No = 0;
public const int Yes = 1;
}
}
produces
declare class Example {
public no : number;
public yes : number;
}
Nested types are not supported at the moment. The intention is to support them after releasing the first development version.
Effort
An effort evaluation for enabling this in ScriptSharp definition only will be conducted. If not much work is required, this will become part of level-0 milestone.