Skip to content

Commit a7a97b4

Browse files
committed
Address review comments
1 parent b4dfb6b commit a7a97b4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ class TreeUnpickler(reader: TastyReader,
588588
val isScala2MacroDefinedInScala3 = flags.is(Macro, butNot = Inline) && flags.is(Erased)
589589
ctx.owner match {
590590
case cls: ClassSymbol if !isScala2MacroDefinedInScala3 || cls == defn.StringContextClass =>
591-
// Enter all members of classes that are not Scala 2 macros or synthetic bean accessors.
591+
// Enter all members of classes that are not Scala 2 macros.
592592
//
593593
// For `StringContext`, enter `s`, `f` and `raw`
594594
// These definitions will be entered when defined in Scala 2. It is fine to enter them

tasty/src/dotty/tools/tasty/TastyFormat.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ Standard-Section: "ASTs" TopLevelStat*
211211
PARAMsetter -- The setter part `x_=` of a var parameter `x` which itself is pickled as a PARAM
212212
PARAMalias -- Parameter is alias of a superclass parameter
213213
EXPORTED -- An export forwarder
214-
OPEN
215-
INVISIBLE -- an open class
214+
OPEN -- an open class
215+
INVISIBLE -- invisible during typechecking
216216
Annotation
217217
218218
Variance = STABLE -- invariant
@@ -473,9 +473,9 @@ object TastyFormat {
473473
final val PARAMalias = 41
474474
final val TRANSPARENT = 42
475475
final val INFIX = 43
476-
final val EMPTYCLAUSE = 44
477-
final val SPLITCLAUSE = 45
478-
final val INVISIBLE = 46
476+
final val INVISIBLE = 44
477+
final val EMPTYCLAUSE = 45
478+
final val SPLITCLAUSE = 46
479479

480480
// Cat. 2: tag Nat
481481

0 commit comments

Comments
 (0)