Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

remove DartProject references #3399

Merged
merged 1 commit into from
May 13, 2022

Conversation

pq
Copy link
Member

@pq pq commented May 12, 2022

@@ -84,28 +73,33 @@ class _Visitor extends SimpleAstVisitor<void> {
_Visitor(this.rule);

@override
// ignore: prefer_expression_function_bodies
Copy link
Member

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.

@@ -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
Copy link
Member

Choose a reason for hiding this comment

The 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?

Copy link
Member Author

Choose a reason for hiding this comment

The 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!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pq pq merged commit 008a8a0 into master May 13, 2022
@pq pq deleted the package_prefixed_library_names_rem_dart_project branch May 13, 2022 16:08
copybara-service bot pushed a commit to dart-lang/sdk that referenced this pull request Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants