@@ -66,15 +66,16 @@ class TreePickler(pickler: TastyPickler, attributes: Attributes) {
6666 fillRef(lengthAddr, currentAddr, relative = true )
6767 }
6868
69- /** There are certain expectations with code which is naturally able to reach pickling
70- * phase as opposed to one that uses best-effort compilation features.
71- * When pickling betasty files, we do some custom checks, in case those expectations
72- * cannot be fulfilled, and if then we can try to do something else.
73- * For regular non best-effort compilation (without best-effort and without using .betasty on classpath),
74- * this will always return true.
69+ /** There are certain expectations with code which is naturally able to reach
70+ * pickling phase as opposed to one that uses best-effort compilation features.
71+ * When pickling betasty files, we do some custom checks, in case those
72+ * expectations cannot be fulfilled, and if so, then we can try to do something
73+ * else (usually pickle an ERRORtype).
74+ * For regular non best-effort compilation (without -Ybest-effort with thrown errors
75+ * and without using .betasty on classpath), this will always return true.
7576 */
7677 private inline def passesConditionForErroringBestEffortCode (condition : => Boolean )(using Context ): Boolean =
77- (( ! ctx.isBestEffort && ctx.reporter.errorsReported) || ctx.usedBestEffortTasty) || condition
78+ ! (( ctx.isBestEffort && ctx.reporter.errorsReported) || ctx.usedBestEffortTasty) || condition
7879
7980 def addrOfSym (sym : Symbol ): Option [Addr ] =
8081 symRefs.get(sym)
0 commit comments