You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to happen?
Code should not be changed to
<div @onclick="foo" />
What actually happened?
Applied autofix changed the semantics and broke the code (originally foo is called with undefined, after autofix it's called with event)
EDIT: similar situation would be if you don't declare method arguments but use arguments variable, with foo()arguments[0] would be undefined, with fooarguments[0] would be an event
The text was updated successfully, but these errors were encountered:
Checklist
Tell us about your environment
Please show your full configuration:
more or less
What did you do?
What did you expect to happen?
Code should not be changed to
What actually happened?
Applied autofix changed the semantics and broke the code (originally
foo
is called withundefined
, after autofix it's called with event)EDIT: similar situation would be if you don't declare method arguments but use
arguments
variable, withfoo()
arguments[0]
would beundefined
, withfoo
arguments[0]
would be an eventThe text was updated successfully, but these errors were encountered: