We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a79d848 commit 0bb3107Copy full SHA for 0bb3107
compiler/src/dotty/tools/dotc/ast/Positioned.scala
@@ -245,7 +245,7 @@ object Positioned {
245
246
def init(using Context): Unit =
247
debugId = ctx.settings.YdebugTreeWithId.value
248
- if ctx.settings.YshowTreeIds.value
+ if ids == null && ctx.settings.YshowTreeIds.value
249
|| debugId != ctx.settings.YdebugTreeWithId.default
250
then
251
ids = java.util.WeakHashMap()
0 commit comments