Skip to content

./bin/dotr -language:Scala2 fails #4066

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
Blaisorblade opened this issue Mar 3, 2018 · 0 comments
Closed

./bin/dotr -language:Scala2 fails #4066

Blaisorblade opened this issue Mar 3, 2018 · 0 comments
Assignees

Comments

@Blaisorblade
Copy link
Contributor

It gives

warning: multiple classpaths are found, dotr only use the last one.
Unrecognized option: -language:Scala2
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

while ./bin/dotc -language:Scala2 is fine and ./bin/dotr -repl -language:Scala2 works as well.
Comparing dotc and dotr leads to the differences between dist-bootstrapped/target/pack/bin/dotr and dist-bootstrapped/target/pack/bin/dotc.

@Blaisorblade Blaisorblade self-assigned this Mar 3, 2018
liufengyun added a commit that referenced this issue May 31, 2018
Fix #4066 `./bin/dotr -language:Scala2` fails
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

No branches or pull requests

1 participant