File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,9 @@ object Contexts {
263263 final def withPhaseNoEarlier (phase : Phase ) =
264264 if (phase.exists && ctx.phase.id < phase.id) withPhase(phase) else ctx
265265
266+ // `creationTrace`-related code. To enable, uncomment the code below and the
267+ // call to `setCreationTrace()` in this file.
268+ /*
266269 /** If -Ydebug is on, the top of the stack trace where this context
267270 * was created, otherwise `null`.
268271 */
@@ -281,6 +284,7 @@ object Contexts {
281284 }
282285 println("=== end context creation trace ===")
283286 }
287+ */
284288
285289 /** The current reporter */
286290 def reporter : Reporter = typerState.reporter
@@ -414,7 +418,8 @@ object Contexts {
414418 this .implicitsCache = null
415419 this .phasedCtx = this
416420 this .phasedCtxs = null
417- setCreationTrace()
421+ // See comment related to `creationTrace` in this file
422+ // setCreationTrace()
418423 this
419424 }
420425
You can’t perform that action at this time.
0 commit comments