Skip to content

Getting Started guide doesn't work on Windows #21610

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
HarrisL2 opened this issue Sep 18, 2024 · 2 comments · Fixed by #21613
Closed

Getting Started guide doesn't work on Windows #21610

HarrisL2 opened this issue Sep 18, 2024 · 2 comments · Fixed by #21613
Assignees
Labels
area:documentation area:dx Issues tied to the developer experience when working on the compiler. compat:windows itype:bug

Comments

@HarrisL2
Copy link
Contributor

Compiler version

3.5.1-RC2

Minimized code

(On Windows 11)

scalac tests/pos/HelloWorld.scala

Output

[error] stack trace is suppressed; run last scala3-compiler / scalac for the full output
[error] (scala3-compiler / scalac) Invalid programmatic input:
[error]    Expected 'b'
[error]    Expected 't'
[error]    Expected 'n'
[error]    Expected 'f'
[error]    Expected 'r'
[error]    Expected '"'
[error]    Expected '''
[error]    Expected '\'
[error]    Expected 'u'
[error]     dotty.tools.dotc.Main -d C:\Users\username\Documents\scala3\compiler\..\out\default-last-scalac-out.jar "-classpath" "C:\Users\username\AppData\Local\Coursier\Cache\v1\https\repo1.maven.org\maven2\org\scala-lang\scala-library\2.13.14\scala-library-2.13.14.jar;C:\Users\username\Documents\scala3\library\..\out\bootstrap\scala3-library-bootstrapped\scala-3.6.0-RC1-bin-SNAPSHOT-nonbootstrapped\scala3-library_3-3.6.0-RC1-bin-SNAPSHOT.jar" "tests/pos/HelloWorld.scala"
[error]
               ^
[error] Total time: 160 s (02:40), completed Sep 18, 2024, 2:00:10 PM

Expectation

Code is able to compile.

@HarrisL2 HarrisL2 added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label labels Sep 18, 2024
@Gedochao
Copy link
Contributor

@HarrisL2 by Getting started you mean https://dotty.epfl.ch/docs/contributing/getting-started.html, correct?

@Gedochao Gedochao added area:documentation compat:windows area:dx Issues tied to the developer experience when working on the compiler. and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Sep 19, 2024
@HarrisL2
Copy link
Contributor Author

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:documentation area:dx Issues tied to the developer experience when working on the compiler. compat:windows itype:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants