Skip to content

Commit b491a82

Browse files
authored
Fix documentation of HOLE in TastyFormat (#17124)
2 parents 6c05e6c + 22b4a54 commit b491a82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ Standard-Section: "ASTs" TopLevelStat*
122122
MATCHtpt Length bound_Term? sel_Term CaseDef* -- sel match { CaseDef } where `bound` is optional upper bound of all rhs
123123
BYNAMEtpt underlying_Term -- => underlying
124124
SHAREDterm term_ASTRef -- Link to previously serialized term
125-
HOLE Length idx_Nat arg_Tree* -- Hole where a splice goes with sequence number idx, splice is applied to arguments `arg`s
125+
HOLE Length idx_Nat tpe_Type arg_Tree* -- Splice hole with index `idx`, the type of the hole `tpe`, type and term arguments of the hole `arg`s
126+
126127
127128
CaseDef = CASEDEF Length pat_Term rhs_Tree guard_Tree? -- case pat if guard => rhs
128129
ImplicitArg = IMPLICITARG arg_Term -- implicit unapply argument

0 commit comments

Comments
 (0)