-
Notifications
You must be signed in to change notification settings - Fork 79
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
Update to latest lints and fix problems #2578
base: main
Are you sure you want to change the base?
Conversation
!e.metaKey) { | ||
e.preventDefault(); | ||
launchDevToolsJs.callAsFunction(); | ||
if (e.isA<KeyboardEvent>()) { |
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.
Is almost certainly was NOT working before. Or maybe just not in Wasm?
CC @srujzs
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.
@srujzs have we talk about an asA<T>
functions that returns T?
? (or similar)
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.
e is KeyboardEvent
is always returning true regardless of platform because Event
and KeyboardEvent
have the same representation type, so this was broken. Nice catch!
re: asA
, yes. dart-lang/sdk#56957 (comment)
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.
Latest lints catch these for us!
Since you modified |
Removing myself since I no longer work on dwds :) |
No description provided.