Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public members of nested classes get emitted incorrectly #27

Open
guidoren opened this issue Dec 6, 2016 · 1 comment
Open

Public members of nested classes get emitted incorrectly #27

guidoren opened this issue Dec 6, 2016 · 1 comment

Comments

@guidoren
Copy link

guidoren commented Dec 6, 2016

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;
}
@andry-tino
Copy link
Owner

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.

@andry-tino andry-tino changed the title public members of private classes get emitted incorrectly Public members of nested classes get emitted incorrectly Dec 23, 2016
@andry-tino andry-tino self-assigned this Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants