mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #27639 from theblixguy/fix/sr-11298-third-times-a-charm
[Typechecker] Reapply fix for SR-11298
This commit is contained in:
@@ -261,7 +261,13 @@ public:
|
||||
|
||||
/// Returns the kind of context this is.
|
||||
DeclContextKind getContextKind() const;
|
||||
|
||||
|
||||
/// Returns whether this context has value semantics.
|
||||
bool hasValueSemantics() const;
|
||||
|
||||
/// Returns whether this context is an extension constrained to a class type.
|
||||
bool isClassConstrainedProtocolExtension() const;
|
||||
|
||||
/// Determines whether this context is itself a local scope in a
|
||||
/// code block. A context that appears in such a scope, like a
|
||||
/// local type declaration, does not itself become a local context.
|
||||
|
||||
Reference in New Issue
Block a user