Skip to content

[warn] bad option '-Ysemanticdb' was ignored #10844

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
tgodzik opened this issue Dec 17, 2020 · 4 comments
Closed

[warn] bad option '-Ysemanticdb' was ignored #10844

tgodzik opened this issue Dec 17, 2020 · 4 comments

Comments

@tgodzik
Copy link
Contributor

tgodzik commented Dec 17, 2020

Minimized code

On a project:

lazy val root = project
  .in(file("."))
  .settings(
    name := "dotty-simple",
    version := "0.1.0-SNAPSHOT",
    scalaVersion := dottyVersion,
    scalacOptions += "-Ysemanticdb",
    libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test"
  )

Output

sbt:dotty-simple> compile
[info] compiling 3 Scala sources to /home/tgodzik/Documents/workspaces/dotty-sample/target/scala-3.0.0-M3/classes ...
[warn] bad option '-Ysemanticdb' was ignored
[warn] one warning found
[warn] one warning found

and no semanticdb files are created.

Expectation

No warnings are produced and semanticdb files are produced.

Please do inform us about changes, that can impact Metals. This one is particularly problematic as I need to also release Bloop for a change that fixes nothing. :/

@tgodzik
Copy link
Contributor Author

tgodzik commented Dec 17, 2020

It seems that abbreviations do not work currently, that might be the issue.

@tgodzik
Copy link
Contributor Author

tgodzik commented Dec 17, 2020

The problem seems to have been reported previously #10844 - it's the same bug.

@tgodzik tgodzik closed this as completed Dec 17, 2020
@dwijnand
Copy link
Member

previously #10844 - it's the same bug

#10810

@SethTisue
Copy link
Member

10844 is indeed the same bug :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants