File tree 1 file changed +7
-2
lines changed
compiler/src/dotty/tools/dotc/ast
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -976,8 +976,11 @@ object Trees {
976
976
def genericEmptyTree [T <: Untyped ]: Thicket [T ] = theEmptyTree.asInstanceOf [Thicket [T ]]
977
977
978
978
/** Tree that replaces a level 1 splices in pickled (level 0) quotes.
979
+ *
979
980
* It is only used when encoding pickled quotes. These will be encoded
980
- * as TastyQuoteHole when pickled.
981
+ * as TastyQuoteHole when pickled. These holes will be inserted in the
982
+ * Staging phase and pickled (without the content) as TASTy HOLE in the
983
+ * PickleQuotes phase.
981
984
*
982
985
* @param isTermHole If this hole is a term, otherwise it is a type hole.
983
986
* @param idx The index of the hole in it's enclosing level 0 quote.
@@ -993,7 +996,9 @@ object Trees {
993
996
}
994
997
995
998
/** Tree that replaces a level 1 splices in pickled (level 0) quotes.
996
- * It is only used when picking quotes (will never be in a TASTy file).
999
+ * It is only used when unpicking quotes TASTy HOLE. These holes will
1000
+ * only be present in pickled quotes. These are unpickled and replaced
1001
+ * with other trees in PickledQuotes.
997
1002
*
998
1003
* Hole created by this compiler separate the targs from the args. Holes
999
1004
* generated with 3.0-3.3 contain all type args and targs in any order in
You can’t perform that action at this time.
0 commit comments