Skip to content
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

Use pos.sourceFile to load source code in PositionSuite. #354

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

sjrd
Copy link
Contributor

@sjrd sjrd commented Sep 28, 2023

Previously, we had to compute the source files to load in an ad hoc way, based on the name of the class we were looking for. Now that positions carry their source file, we can directly use that information to load the appropriate source code.

Previously, we had to compute the source files to load in an ad
hoc way, based on the name of the class we were looking for. Now
that positions carry their source file, we can directly use that
information to load the appropriate source code.
@sjrd sjrd requested a review from adpi2 September 28, 2023 13:25
@sjrd sjrd merged commit 0d5cf49 into scalacenter:main Sep 28, 2023
3 checks passed
@sjrd sjrd deleted the use-pos-sourcefile-in-pos-tests branch September 28, 2023 13:46
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.

2 participants