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
@@ -2862,6 +2874,13 @@ class QuotesImpl private (using val ctx: Context) extends Quotes, QuoteUnpickler
2862
2874
defSynthetic:Flags= dotc.core.Flags.Synthetic
2863
2875
defTrait:Flags= dotc.core.Flags.Trait
2864
2876
defTransparent:Flags= dotc.core.Flags.Transparent
2877
+
2878
+
// Keep: aligned with Quotes's `newMethod` doc
2879
+
private[QuotesImpl] defvalidMethodFlags:Flags=Private|Protected|Override|Deferred|Final|Method|Implicit|Given|Local|AbsOverride|JavaStatic// Flags that could be allowed: Synthetic | ExtensionMethod | Exported | Erased | Infix | Invisible
2880
+
// Keep: aligned with Quotes's `newVal` doc
2881
+
private[QuotesImpl] defvalidValFlags:Flags=Private|Protected|Override|Deferred|Final|Param|Implicit|Lazy|Mutable|Local|ParamAccessor|Module|Package|Case|CaseAccessor|Given|Enum|AbsOverride|JavaStatic// Flags that could be added: Synthetic | Erased | Invisible
2882
+
// Keep: aligned with Quotes's `newBind` doc
2883
+
private[QuotesImpl] defvalidBindFlags:Flags=Case// Flags that could be allowed: Implicit | Given | Erased
2865
2884
endFlags
2866
2885
2867
2886
givenFlagsMethods:FlagsMethodswith
@@ -2982,7 +3001,7 @@ class QuotesImpl private (using val ctx: Context) extends Quotes, QuoteUnpickler
2982
3001
/** Checks that all definitions in this tree have the expected owner.
2983
3002
* Nested definitions are ignored and assumed to be correct by construction.
* @paramtpe The type of the method (MethodType, PolyType, ByNameType)
3788
-
* @paramflags extra flags to with which the symbol should be constructed
3788
+
* @paramflags extra flags to with which the symbol should be constructed. `Method` flag will be added. Can be `Private | Protected | Override | Deferred | Final | Method | Implicit | Given | Local | JavaStatic`
3789
3789
* @paramprivateWithin the symbol within which this new method symbol should be private. May be noSymbol.
3790
3790
*/
3791
+
// Keep: `flags` doc aligned with QuotesImpl's `validMethodFlags`
* @paramflags extra flags to with which the symbol should be constructed
3805
+
* @paramflags extra flags to with which the symbol should be constructed. Can be `Private | Protected | Override | Deferred | Final | Param | Implicit | Lazy | Mutable | Local | ParamAccessor | Module | Package | Case | CaseAccessor | Given | Enum | JavaStatic`
3805
3806
* @paramprivateWithin the symbol within which this new method symbol should be private. May be noSymbol.
3806
3807
* @note As a macro can only splice code into the point at which it is expanded, all generated symbols must be
3807
3808
* direct or indirect children of the reflection context's owner.
3808
3809
*/
3810
+
// Keep: `flags` doc aligned with QuotesImpl's `validValFlags`
0 commit comments