Skip to content

Commit 114a5ba

Browse files
Add more doc
1 parent 12e0e3e commit 114a5ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

library/src/scala/tasty/reflect/Core.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,10 @@ trait Core {
311311
/** Type tree representing a type bound written in the source */
312312
type TypeBoundsTree <: TypeOrBoundsTree
313313

314-
/** Type tree representing wildcard type bounds written in the source */
314+
/** Type tree representing wildcard type bounds written in the source.
315+
* The wildcard type `_` (for example in in `List[_]`) will be a type tree that
316+
* represents a type but has `TypeBound`a inside.
317+
*/
315318
type WildcardType <: TypeOrBoundsTree
316319

317320
/** Type or bounds */

0 commit comments

Comments
 (0)