Skip to content

REPL exposes compiler internalsΒ #3930

@hamzaremmal

Description

@hamzaremmal

Version(s)

Scala code runner version: 1.9.0
Scala version (default): 3.7.3

Describe the bug

The REPL loads the internal symbol of the underlying runtime environment. Similar to scala/scala3#24247.

To Reproduce

Welcome to Scala 3.7.3 (25, Java Java HotSpot(TM) 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
                                                                                
scala> import org.jline.terminal.TerminalBuilder
     | val builder = TerminalBuilder.builder()
val builder: org.jline.terminal.TerminalBuilder = org.jline.terminal.TerminalBuilder@1e4d8770
                                                                                
scala> 

Expected behaviour

The runtime environment of the REPL is a distinct environment than the runtime environment of the code inside the REPL. Kudos to my friend @Maeeen for trying scala/scala3#24247 in scala-cli

Metadata

Metadata

Assignees

Labels

REPLIssues tied with the repl sub-command.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions