Skip to content

Conversation

@som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Mar 16, 2022

Allow REPL to start in presence of a file named "library".

Clean up some API for SourceFile, which unfortunately is not shared code with Scala 2.

This doesn't address what REPL does differently from scalac. Confirmed that it's not the context class loader.

Also need to concoct a test for the REPL behavior, depending on what that is.

Fixes #14664

@som-snytt som-snytt marked this pull request as ready for review March 23, 2022 00:27
Copy link
Member

@smarter smarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much cleaner indeed!

@smarter smarter merged commit b1f00a7 into scala:main Apr 27, 2022
@som-snytt som-snytt deleted the issue/14664 branch April 27, 2022 17:17
@Kordyjan Kordyjan added this to the 3.2.0 milestone Aug 1, 2023
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

Successfully merging this pull request may close these issues.

Uncatched case in file existence check of SourceFile

3 participants