-
Notifications
You must be signed in to change notification settings - Fork 1.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
Analyzer shows warning on console but not in WebStorm #26248
Comments
Sounds like a strong mode error. It seems likely that what's happening is that the command-line analyzer is running in strong mode and the analysis server isn't. What does the directory structure look like in terms of (a) the directory opened in IntelliJ, (b) the directory from which the command-line analyzer was being run, and (c) the location of any .analysis_options files? |
Might be the same as #26129 It's a normal pub package
What is special is that |
Occurred again Travis output
reducer/group.dart if (state.group.selectedGroup == null || isGroupRemoved ?? false) { reducer/invitation.dart if (contacts?.isEmpty ?? true) { model/serializer_custom_standard_json_plugin.dart if (object.sys.id?.isEmpty ?? true) {
controller/debug_controller_test.dart test('clearImageCache', () {
// set up
expect(serverApi.debug.clearImageCacheCalledCounter, 0);
// exercise
appController.debugController.clearImageCache();
appController.debugController.clearImageCache();
// verification
expect(serverApi.debug.clearImageCacheCalledCounter, 2);
// tear down
}); Why aren't they shown in IntelliJ? Dart VM version: 2.0.0-dev.20.0 (Mon Jan 29 16:25:01 2018 +0100) on "macos_x64" |
Haven't seen this in a while. |
With this project:
https://github.com/bwu-dart/bwu_datagrid/blob/94ce0532d40faaa61a4b7a2bb0c6ba290f4e81e5/lib/bwu_datagrid.dart#L3401-L3401
branch
polymer1
run
pub build
pub global activate grinder
grind
When run from the console I get
but WebStorm doesn't show anything.
In the screenshot the lower part is the console output, the upper part shows the referred line in the editor (no warning)
The other warnings and lints in the console are because of #26212
The text was updated successfully, but these errors were encountered: