@@ -140,7 +140,6 @@ Standard-Section: "ASTs" TopLevelStat*
140140 NULLconst -- null
141141 CLASSconst Type -- classOf[Type]
142142 ENUMconst Path -- An enum constant
143- SYMBOLconst NameRef -- A symbol literal (todo: drop?)
144143
145144 Type = Path -- Paths represent both types and terms
146145 TYPEREFdirect sym_ASTRef -- A reference to a local symbol (without a prefix). Reference is to definition node of symbol.
@@ -250,7 +249,7 @@ Standard Section: "Comments" Comment*
250249object TastyFormat {
251250
252251 final val header : Array [Int ] = Array (0x5C , 0xA1 , 0xAB , 0x1F )
253- val MajorVersion : Int = 14
252+ val MajorVersion : Int = 15
254253 val MinorVersion : Int = 0
255254
256255 /** Tags used to serialize names */
@@ -352,7 +351,6 @@ object TastyFormat {
352351 final val STRINGconst = 64
353352 final val IMPORTED = 65
354353 final val RENAMED = 66
355- final val SYMBOLconst = 67
356354
357355 // Cat. 3: tag AST
358356
@@ -462,7 +460,7 @@ object TastyFormat {
462460 /** Useful for debugging */
463461 def isLegalTag (tag : Int ): Boolean =
464462 firstSimpleTreeTag <= tag && tag <= EXPORTED ||
465- firstNatTreeTag <= tag && tag <= SYMBOLconst ||
463+ firstNatTreeTag <= tag && tag <= RENAMED ||
466464 firstASTTreeTag <= tag && tag <= BOUNDED ||
467465 firstNatASTTreeTag <= tag && tag <= NAMEDARG ||
468466 firstLengthTreeTag <= tag && tag <= MATCHtpt ||
@@ -636,7 +634,6 @@ object TastyFormat {
636634 case SUPER => " SUPER"
637635 case CLASSconst => " CLASSconst"
638636 case ENUMconst => " ENUMconst"
639- case SYMBOLconst => " SYMBOLconst"
640637 case SINGLETONtpt => " SINGLETONtpt"
641638 case SUPERtype => " SUPERtype"
642639 case TERMREFin => " TERMREFin"
0 commit comments