Add error message for set accessor visibility issues#33683
Conversation
sandersn
left a comment
There was a problem hiding this comment.
Code looks good but it would be nice to have tests for all 3 new errors.
| ==== tests/cases/compiler/accessorDeclarationEmitVisibilityErrors.ts (2 errors) ==== | ||
| export class Q { | ||
| set bet(arg: DoesNotExist) {} | ||
| ~~~~~~~~~~~~ |
There was a problem hiding this comment.
names that don't exist create a "is using private name" errors? ok..
Yeah, unfortunately, the other two are there to cover the space of errors allowed by the type declarations for accessibility errors, but I don't think they're possible to ever trigger as, at least right now, a |
|
And now to wait for the next rwc diff on master, which'll include a ton of |
This fixes the crash in
RWC.