Skip to content

Commit 613a355

Browse files
committed
Fix typos pointed out by reviews
1 parent 6b1f7b8 commit 613a355

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Standard-Section: "ASTs" TopLevelStat*
6767
TypeParam = TYPEPARAM Length NameRef type_Term Modifier* -- modifiers name bounds
6868
Params = PARAMS Length Param*
6969
Param = PARAM Length NameRef type_Term rhs_Term? Modifier* -- modifiers name : type (= rhs_Term)?. `rhsTerm` is present in the case of an aliased class parameter
70-
Template = TEMPLATE Length TypeParam* Param* parent_Term* Self? Stat* -- [typeparams] paramss extends parents { self => stats }, where Stat* always starts with the primary constructor.
70+
Template = TEMPLATE Length TypeParam* Params* parent_Term* Self? Stat* -- [typeparams] paramss extends parents { self => stats }, where Stat* always starts with the primary constructor.
7171
Self = SELFDEF selfName_NameRef selfType_Term -- selfName : selfType
7272
7373
Term = Path -- Paths represent both types and terms
@@ -165,7 +165,7 @@ Standard-Section: "ASTs" TopLevelStat*
165165
ERASEDMETHODtype Length result_Type NamesTypes -- A method type `erased (NamesTypes)result`, needed for refinements
166166
GIVENMETHODtype Length result_Type NamesTypes -- A method type `given (NamesTypes)result`, needed for refinements
167167
ERASEDGIVENMETHODtype Length result_Type NamesTypes -- A method type `given erased (NamesTypes)result`, needed for refinements
168-
IMPLCITMETHODtype Length result_Type NamesTypes -- A method type `(implicit NamesTypes)result`, needed for refinements
168+
IMPLICITMETHODtype Length result_Type NamesTypes -- A method type `(implicit NamesTypes)result`, needed for refinements
169169
// TODO: remove ERASEDIMPLICITMETHODtype
170170
TYPELAMBDAtype Length result_Type NamesTypes -- A type lambda `[NamesTypes] => result`, variance encoded using VARIANT names
171171
SHAREDtype type_ASTRef -- link to previously serialized type

0 commit comments

Comments
 (0)