-
Notifications
You must be signed in to change notification settings - Fork 141
Compiler output passed wrongly from Bloop #1023
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
Comments
Hi @prolativ, Thanks for reporting, There is exists a workaround and you have to use plain
|
Could this be considered a blocker for promoting |
Makes sense, I will need to take a look at it. |
Fixing it in scalacenter/bloop#2361 |
@SethTisue do you know if the output from "-Vprint" is being printed only to standard output? This might not be possible to sensibly fix as we would need to forward Bloop stdout and that could bring in more than we wanted, since it is running multiple compilations. |
where else would or could it be printed? |
I was thinking that it could go via info diagnostics for example? Since, I guess there is no sensible way to pass a custom output stream to the compiler |
bump @tgodzik |
Looks like I need to work on it further, it only sometimes prints the output. |
Might this be somehow caused by the compiler not redoing the compilation if there were no changes in the sources? |
I thought so, but I removed .scala-build and it doesn't show up. Looks to be showing up randomly :/ |
Version(s)
0.1.4, 0.1.5, possibly earlier ones as well
Describe the bug
Compiler options passed after
-O
seem to be ignored when compiling with scala 2To Reproduce
Foo.scala:
Running
prints just
Expected behaviour
Compiler option passed in the command line after
-O
should be correctly passed to the compiler.In the example above this should print the program tree after the typer phase similarly to
printing
The text was updated successfully, but these errors were encountered: