-
Notifications
You must be signed in to change notification settings - Fork 147
Open
Labels
bugSomething isn't workingSomething isn't workingscriptingIssues tied to *.sc script inputs.Issues tied to *.sc script inputs.wontfixThis will not be worked onThis will not be worked on
Description
Version(s)
1.6.1, 1.7.1
Describe the bug
In worksheet mode filename affects compilation.
To Reproduce
- Create file
zio.sc
with code:
//> using dep "dev.zio::zio:2.1.16"
import zio.ZIO
- Run:
scala-cli zio.sc
Got:
[error] ./zio.sc:4:12
[error] value ZIO is not a member of zio$_
[error] import zio.ZIO
[error] ^^^
Expected behaviour
No compiler errors.
In non-worksheet mode (if filename is zio.scala
) the behavior is as expected.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingscriptingIssues tied to *.sc script inputs.Issues tied to *.sc script inputs.wontfixThis will not be worked onThis will not be worked on