File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
compiler/src/dotty/tools/dotc/ast Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -976,8 +976,11 @@ object Trees {
976976 def genericEmptyTree [T <: Untyped ]: Thicket [T ] = theEmptyTree.asInstanceOf [Thicket [T ]]
977977
978978 /** Tree that replaces a level 1 splices in pickled (level 0) quotes.
979+ *
979980 * 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.
981984 *
982985 * @param isTermHole If this hole is a term, otherwise it is a type hole.
983986 * @param idx The index of the hole in it's enclosing level 0 quote.
@@ -993,7 +996,9 @@ object Trees {
993996 }
994997
995998 /** 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.
9971002 *
9981003 * Hole created by this compiler separate the targs from the args. Holes
9991004 * 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