This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Disallow private fields without leading _ #278
Comments
What about this pattern: // Base and Child in the same file (Dart has library level private members)
class Base {
_internalProp;
}
class Child extends Base {
foo() {
this._internalProp;
}
} We have some of those in the What would be the best solution here ?
None of those solutions are great:
|
@vicb I think it makes sense to allow |
I am adding a config option for this in ts2dart, in #284 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Time to fix this old TODO: https://github.com/angular/ts2dart/blob/6f3bbd896e7e712049eb4f2403e67f59932cf697/lib/declaration.ts#L426
The text was updated successfully, but these errors were encountered: