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

[nomerge] Emit warnings in the REPL #9298

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

dwijnand
Copy link
Member

@dwijnand dwijnand commented Nov 2, 2020

My attempt to backport #7756, but it doesn't fix the tests. (I hand-rolled their checkfiles so don't take them as canon.)

@som-snytt I think I'm right in thinking that you aren't that interested in sinking time in 2.12's REPL. But in the interest of getting 2.12 and 2.13 released, could you spend a second seeing if you can see what's missing to fix this? It might be a blocker for the 2.12 release...

@scala-jenkins scala-jenkins added this to the 2.12.14 milestone Nov 2, 2020
@dwijnand dwijnand modified the milestones: 2.12.14, 2.12.13 Nov 2, 2020
@som-snytt
Copy link
Contributor

som-snytt commented Nov 2, 2020

I only kind of remember tweaks around REPL "parse errors" vs "typer errors in wrapped/templated code". Probably I never got over that my "repl plugin" thing never made it, where you just submit the template once and pick up your trees at the end of the run.

@dwijnand
Copy link
Member Author

dwijnand commented Nov 3, 2020

Probably I never got over that my "repl plugin" thing never made it, where you just submit the template once and pick up your trees at the end of the run.

I guess you mean #2984 (comment)?

@dwijnand dwijnand force-pushed the 2.12/repl-summarizes-warnings branch from 4aa2ea6 to 4a7d02e Compare November 3, 2020 17:46
@dwijnand dwijnand force-pushed the 2.12/repl-summarizes-warnings branch from 4a7d02e to 0ae0739 Compare November 3, 2020 21:32
@dwijnand dwijnand marked this pull request as ready for review November 4, 2020 09:22
@dwijnand dwijnand added the prio:blocker release blocker (used only by core team, only near release time) label Nov 4, 2020
@dwijnand
Copy link
Member Author

dwijnand commented Nov 5, 2020

This improves the status quo, fixing the REPL warning issue that Zinc's tests revealed in the 2.12 CB. So I'm going to merge on that basis - but I'm happy to follow-up on any feedback given post-merge.

@dwijnand dwijnand merged commit 2d4985d into scala:2.12.x Nov 5, 2020
@dwijnand dwijnand deleted the 2.12/repl-summarizes-warnings branch November 5, 2020 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio:blocker release blocker (used only by core team, only near release time)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants