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 {
263
263
final def withPhaseNoEarlier (phase : Phase ) =
264
264
if (phase.exists && ctx.phase.id < phase.id) withPhase(phase) else ctx
265
265
266
+ // `creationTrace`-related code. To enable, uncomment the code below and the
267
+ // call to `setCreationTrace()` in this file.
268
+ /*
266
269
/** If -Ydebug is on, the top of the stack trace where this context
267
270
* was created, otherwise `null`.
268
271
*/
@@ -281,6 +284,7 @@ object Contexts {
281
284
}
282
285
println("=== end context creation trace ===")
283
286
}
287
+ */
284
288
285
289
/** The current reporter */
286
290
def reporter : Reporter = typerState.reporter
@@ -414,7 +418,8 @@ object Contexts {
414
418
this .implicitsCache = null
415
419
this .phasedCtx = this
416
420
this .phasedCtxs = null
417
- setCreationTrace()
421
+ // See comment related to `creationTrace` in this file
422
+ // setCreationTrace()
418
423
this
419
424
}
420
425
You can’t perform that action at this time.
0 commit comments