Skip to content

Conversation

@anatoliykmetyuk
Copy link
Contributor

When evaluating definitions in REPL (def, implied etc), they are brought in scope for all the subsequent evaluations of the user input. This is done via the import mechanism. However, in Dotty,
the semantics of the imports changed: by default, the implied values are not imported. This commit makes sure that all the members, including the implied ones, are imported from the previous evaluations of the input.

Copy link
Member

@dottybot dottybot left a comment

Choose a reason for hiding this comment

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

Hello, and thank you for opening this PR! 🎉

All contributors have signed the CLA, thank you! ❤️

Have an awesome day! ☀️

When evaluating definitions in REPL (`def`, `implied` etc),
they are brought in scope for all the subsequent evaluations of the
user input. This is done via the `import` mechanism. However, in Dotty,
the semantics of the imports changed: by default, the implied values are
not imported. This commit makes sure that all the members, including the
implied ones, are imported from the previous evaluations of the input.
@odersky odersky self-assigned this Apr 5, 2019
@odersky odersky merged commit 7143421 into scala:master Apr 5, 2019
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.

3 participants