-
Notifications
You must be signed in to change notification settings - Fork 172
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
Incorrect deprecated_member_use_from_same_package in SDK edge #1393
Comments
The ignore comments need to be updated to use the new lint name. |
But they are ignoring another package. The lint is a false positive! |
I can't reproduce this on a Dart synced and compiled just a few minutes ago
|
Try running analyzer just in the root of the build_modules package?
…On Mon, Jan 28, 2019 at 10:43 AM Sam Rawlins ***@***.***> wrote:
I can't reproduce this on a Dart synced and compiled just a few minutes
ago
|
Same.
I have not run any build stuff in my checkout, so my
|
Surprise, surprise: if I delete |
erp, I can reproduce now with that directory. Looking into this... |
Fix in the mail: https://dart-review.googlesource.com/c/sdk/+/91441 |
Thanks! |
This implementation did not check whether the path was actually contained in the package:build workspace. It also made an assumption about how a resource which is a directory would be treated, which was masked by an unconditional-and-silenced catch. The existing test which should have caught this had a hidden exception, caught by the same unconditional-and-silenced catch. :( Bug: dart-lang/linter#1393 Change-Id: I0a6ecb584e06877463a47681830eed8f6f914030 Reviewed-on: https://dart-review.googlesource.com/c/91441 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
This was supposed to be fixed, but I'm seeing again in 2.3.1-dev.0.0 Sync and load https://github.com/dart-lang/pubspec_parse/
CC @srawlins |
Apologies, @kevmoo . I've found the issue and have a fix in the works; I can mail tomorrow. |
No worries! Thanks.
*From: *Sam Rawlins <notifications@github.com>
*Date: *Thu, May 9, 2019 at 9:17 PM
*To: *dart-lang/linter
*Cc: *Kevin Moore, Mention
Apologies, @kevmoo <https://github.com/kevmoo> . I've found the issue and
… have a fix in the works; I can mail tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1393 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAEFCSTN4KQGU4ZMC6QAXLPUTZOHANCNFSM4GSZ4BJQ>
.
|
Fixes dart-lang/linter#1393 Change-Id: I064faad8da50bc1a6c8a80a0412f792914915f8e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102200 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Fix is in dart-lang/sdk@dac5a56422 Need it to get into a shipped SDK
Fix is in dart-lang/sdk@dac5a56422 Need it to get into a shipped SDK
Fix is in dart-lang/sdk@dac5a56422 Need it to get into a shipped SDK
SDK @ dart-lang/sdk@ec5ba8a
Linter DEP @ 0.1.79
Build repo @ dart-lang/build@9a6652e
These lines are ignored in source with
// ignore: deprecated_member_use
pkg:analyzer
!=pkg:build_modules
The text was updated successfully, but these errors were encountered: