We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c52dee commit 3794aabCopy full SHA for 3794aab
include/swift/Parse/Scope.h
@@ -67,13 +67,10 @@ enum class ScopeKind {
67
StructBody,
68
ClassBody,
69
ProtocolBody,
70
- ConstructorBody,
71
- DestructorBody,
72
InheritanceClause,
73
74
Brace,
75
TopLevel,
76
- ForVars,
77
ForeachVars,
78
CaseVars,
79
CatchVars,
lib/Parse/Scope.cpp
@@ -36,10 +36,7 @@ static bool isResolvableScope(ScopeKind SK) {
36
return false;
37
case ScopeKind::FunctionBody:
38
case ScopeKind::Generics:
39
- case ScopeKind::ConstructorBody:
40
- case ScopeKind::DestructorBody:
41
case ScopeKind::Brace:
42
- case ScopeKind::ForVars:
43
case ScopeKind::ForeachVars:
44
case ScopeKind::ClosureParams:
45
case ScopeKind::CaseVars:
0 commit comments