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 822f8f8 commit 890531dCopy full SHA for 890531d
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -102,8 +102,12 @@ trait SymDenotations { this: Context =>
102
}
103
104
105
- /** Configurable: Accept stale symbol with warning if in IDE */
106
- def staleOK: Boolean = Config.ignoreStaleInIDE && mode.is(Mode.Interactive)
+ /** Configurable: Accept stale symbol with warning if in IDE
+ * Always accept stale symbols when testing pickling.
107
+ */
108
+ def staleOK: Boolean =
109
+ Config.ignoreStaleInIDE && mode.is(Mode.Interactive) ||
110
+ settings.YtestPickler.value
111
112
/** Possibly accept stale symbol with warning if in IDE */
113
def acceptStale(denot: SingleDenotation): Boolean =
0 commit comments