We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version(s)
> scala-cli --version Scala CLI version: 1.2.1 Scala version (default): 3.4.1
Describe the bug Cannot run Resources from gists example in Windows.
> scala-cli https://gist.github.com/lwronski/7ee12fa4b8b8bac3211841273df82080 --server=false -O -explain -- [E103] Syntax Error: C:\Users\user\AppData\Local\Temp\1353784265756903379\.scala-build\1353784265756903379_a9b3fe14a0-816713491b\src_generated\main\input:1:0 1 |1 |^ |Illegal start of toplevel definition |----------------------------------------------------------------------------- | Explanation (enabled by `-explain`) |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | A statement is an import or export, a definition or an expression. | Some statements are only allowed in certain contexts ----------------------------------------------------------------------------- 1 error found Compilation failed
> java -version openjdk version "17.0.7" 2023-04-18 OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
> gcm java CommandType Name Version Source ----------- ---- ------- ------ Application java.exe 17.0.7.0 C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot\bin\java.exe
> echo $Env:JAVA_HOME C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot\
> systeminfo | findstr /B /C:"OS Name" OS Name: Microsoft Windows 11 Home Single Language
To Reproduce Run example from website.
> scala-cli https://gist.github.com/lwronski/7ee12fa4b8b8bac3211841273df82080 --server=false -O -explain
Expected behaviour It should print 1,2,3,4 to the standard output.
1,2,3,4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version(s)
Describe the bug
Cannot run Resources from gists example in Windows.
To Reproduce
Run example from website.
Expected behaviour
It should print
1,2,3,4
to the standard output.The text was updated successfully, but these errors were encountered: