Skip to content

Move Reflection to scala.quoted #10291

New issue

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

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Nov 12, 2020

In theory it should be inside of the QuoteContext but this is blocked by #10253.
We take this first step to cleanup the scala.tasty package.

@nicolasstucki nicolasstucki force-pushed the move-Reflection branch 2 times, most recently from 093ee7d to 65a19db Compare November 12, 2020 12:47
@nicolasstucki nicolasstucki self-assigned this Nov 12, 2020
@nicolasstucki nicolasstucki marked this pull request as ready for review November 12, 2020 14:10
In theory it should be inside of the QuoteContext but this is blocked by scala#10253.
We take this first step to cleanup the `scala.tasty` package

Also fix code that uses Reflection directly.
Copy link
Contributor

@romanowski romanowski left a comment

Choose a reason for hiding this comment

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

scala3doc changes looks ok

Copy link
Contributor

@abgruszecki abgruszecki left a comment

Choose a reason for hiding this comment

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

These changes look fine, but I suppose we should have a separate discussion about how qctx is supposed to be used in paths. That trick looks very fishy.

@nicolasstucki
Copy link
Contributor Author

I'm exploring an alternative to the qctx in #10289

@nicolasstucki nicolasstucki merged commit b8bb452 into scala:master Nov 12, 2020
@nicolasstucki nicolasstucki deleted the move-Reflection branch November 12, 2020 15:52
@liufengyun
Copy link
Contributor

It is a bit weird that this makes many micro-benchmarks slower.

@nicolasstucki
Copy link
Contributor Author

I noticed. Maybe there are more situations where we need to load this class file.

@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 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.

5 participants