-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
test: add replacement-static-decorator-initializer-this test #16288
test: add replacement-static-decorator-initializer-this test #16288
Conversation
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.
Thanks!
@dec | ||
class Foo { | ||
@(captureInitializerThis(v => accessorThis = v)) | ||
static accessor; |
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.
Oops, merged too early, it should have been static accessor accessor
.
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 committed this change at #16287. :)
In this PR we add a new class replacement test. It seems that the
this
value of initializers in a decorated class are not covered in other tests.