-
Notifications
You must be signed in to change notification settings - Fork 170
remove DartProject
references
#3399
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
|
||
// test w/ `dart test -N package_prefixed_library_names` | ||
|
||
library linter.not_where_it_should_be; //LINT | ||
// See: https://github.com/dart-lang/linter/issues/3395 | ||
library linter.not_where_it_should_be; //FAILING | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why would commenting out code that isn't being run cause the test to start failing? How confident are we that the commented out code really isn't being run? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is being run in the linter tests since they do take the code path that initializes project instances. That's however the only path that does and so the tests here are out of sync w/ how server and the analyzer CLIs work. Obviously, not good! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
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.
It seems wrong to recommend using an expression function body when there's no value to return. Somehow
void f() => null;
feels wrong.