You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Generate a new type symbol for a type bounds with the given parent, name and type
3985
+
*
3986
+
* This symbol starts without an accompanying definition.
3987
+
* It is the meta-programmer's responsibility to provide exactly one corresponding definition by passing
3988
+
* this symbol to the TypeDef constructor.
3989
+
*
3990
+
* @paramparent The owner of the type
3991
+
* @paramname The name of the type
3992
+
* @paramflags extra flags to with which symbol can be constructed. `Deferred` flag will be added. Can be `Private` | `Protected` | `Override` | `Deferred` | `Final` | `Infix` | `Local`
3993
+
* @paramtpe The bounds of the type
3994
+
* @paramprivateWithin the symbol within which this new type symbol should be private. May be noSymbol.
3995
+
* @note As a macro can only splice code into the point at which it is expanded, all generated symbols must be
3996
+
* direct or indirect children of the reflection context's owner.
3997
+
*/
3998
+
@experimental
3999
+
// Keep: `flags` doc aligned with QuotesImpl's `validBoundedTypeFlags`
assert(typeDef.toString =="TypeDef(tpe,TypeTree[TypeBounds(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class java)),object lang),String),TypeRef(ThisType(TypeRef(NoPrefix,module class scala)),class Any))])")
0 commit comments