Skip to content
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

No published analyzer available for language version 3.0.0 #50637

Closed
mit-mit opened this issue Dec 6, 2022 · 6 comments
Closed

No published analyzer available for language version 3.0.0 #50637

mit-mit opened this issue Dec 6, 2022 · 6 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@mit-mit
Copy link
Member

mit-mit commented Dec 6, 2022

mit-macbookpro6:command_line mit$ dart run build_runner build
Building package executable... (5.7s)
Built build_runner:build_runner.
[INFO] Generating build script completed, took 411ms
[INFO] Precompiling build script... completed, took 5.5s
[INFO] Building new asset graph completed, took 654ms
[INFO] Found 1 declared outputs which already exist on disk. This is likely because the`.dart_tool/build` folder was deleted, or you are submitting generated files to your source repository.
Delete these files?
1 - Delete
2 - Cancel build
3 - List conflicts
1
[INFO] Checking for unexpected pre-existing outputs. completed, took 1.8s
[WARNING] build_cli on bin/github_activity.dart:
The latest `analyzer` version may not fully support your current SDK version.

Analyzer language version: 2.19.0
SDK language version: 3.0.0

Check for an open issue at:
https://github.com/dart-lang/sdk/issues?q=is%3Aissue+is%3Aopen+No+published+analyzer+3.0.0
and thumbs up and/or subscribe to the existing issue, or file a new issue at
https://github.com/dart-lang/sdk/issues/new with the title
"No published analyzer available for language version 3.0.0".

@mit-mit mit-mit added this to the Dart 3 alpha milestone Dec 6, 2022
@mit-mit mit-mit added the P1 A high priority bug; for example, a single project is unusable or has many test failures label Dec 6, 2022
@srawlins srawlins added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Dec 6, 2022
@srawlins
Copy link
Member

srawlins commented Dec 6, 2022

cc @scheglov

@scheglov
Copy link
Contributor

scheglov commented Dec 6, 2022

Is this a request to publish package:analyzer with SDK constraints like this?

environment:
  sdk: '>=2.17.0 <4.0.0'

Or just publishing the current state as is, with

environment:
  sdk: '>=2.17.0 <3.0.0'

...because the only thing that we need is the updated ExperimentStatus.currentVersion to be 3.0.0?

It seems that using 4.0.0 might be too soon, because I don't see any other packages, including analyzer dependencies to be published with new SDK constraints.

@srawlins
Copy link
Member

srawlins commented Dec 6, 2022

I think this is a request to publish a version of analyzer which understands that the "current language version" is 3.0.0

@scheglov
Copy link
Contributor

scheglov commented Dec 6, 2022

@mit-mit
Copy link
Member Author

mit-mit commented Dec 6, 2022

Yes, the current language version is now 3.0.0.

Yes, I guess we can update the version constraints later.

@scheglov scheglov self-assigned this Dec 7, 2022
@scheglov
Copy link
Contributor

scheglov commented Dec 7, 2022

Done.

@scheglov scheglov closed this as completed Dec 7, 2022
copybara-service bot pushed a commit that referenced this issue Dec 7, 2022
Bug: #50637
Change-Id: I0ce445af106168fd4af6529e2c55deceb954e559
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274086
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

No branches or pull requests

3 participants