-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
feat(ts/analyzer): handle private field access in derived class #151
base: main
Are you sure you want to change the base?
Conversation
required_error: 4150, | ||
matched_error: 5545, | ||
extra_error: 1012, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kdy1 I'm not sure what required_error
error mean relative to matched_error
.
So far I've understood that (correct me if im wrong):
extra_error
s are the ones that we should not be emiting but we do. This should go down.matched_error
s are the ones that matched expected errors. This still counts if there areextra_error
s in a test case (?). This should go up.
matched_error - required_error = 5545 - 4150 = 1395 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
required_error
means we have to emit those error for 100% parity with tsc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But well, I think we should document it somewhere, or change the name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should rename it to missing_error
Oops I think we need a better way to track tsc stats. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm focusing on removing false-positive, so the increase of extra_error
isn't acceptable
This could be a plan :
|
Handle private name field access in derived class.