8000 [2.12] Improve -Yrepl-class-based by dwijnand · Pull Request #8712 · scala/scala · GitHub
[go: up one dir, main page]

Skip to content

[2.12] Improve -Yrepl-class-based #8712

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 15 commits into from
Feb 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
repl: Nail the wrapper-cleanup phase ordering
This should help ensure the order is as deterministic as possible.
  • Loading branch information
dwijnand committed Feb 20, 2020
commit eb5862b0787589cd2ec002440fd5cd789af425a7
2 changes: 2 additions & 0 deletions src/repl/scala/tools/nsc/interpreter/ReplGlobal.scala
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ trait ReplGlobal extends Global {
override val phaseName: String = "wrapper-cleanup"
/** Names of phases that must run before this phase. */
override val runsAfter: List[String] = List("refchecks")
/** Names of phases that must run after this phase. Default is `Nil`. */
override val runsBefore: List[String] = List("uncurry")
/** Name of the phase that this phase must follow immediately. */
override val runsRightAfter: Option[String] = None
override protected def newTransformer(unit: CompilationUnit): Transformer = new WrapperCleanupTransformer
Expand Down
0