Skip to content

Implement diagnostics for Scala 3 (#1602) #1610

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

Closed
wants to merge 1 commit into from

Conversation

susliko
Copy link

@susliko susliko commented Sep 4, 2024

Description

Resolves #1602.

This PR implements ProtoReporter for Scala 3 compiler and makes use of it in a corresponding ScalacInvoker.

Motivation

Get error-highlighting working in Bazel projects with Scala 3 for editors using Metals

Copy link

google-cla bot commented Sep 4, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

//Invokes Scala 3 compiler
class ScalacInvoker{
// Invokes Scala 3 compiler
class ScalacInvoker {
Copy link
Author

@susliko susliko Sep 4, 2024

Choose a reason for hiding this comment

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

PR is draft since it lacks tests.
Any tips on setting up diagnostic tests for Scala 3 would be great.

@susliko
Copy link
Author

susliko commented Sep 4, 2024

Closing in favor of #1611

@susliko susliko closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler diagnostics for scala 3 are missing.
1 participant