File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ void IterativeTypeChecker::processResolveTypeDecl(
341
341
if (typeAliasDecl->getDeclContext ()->isModuleScopeContext () &&
342
342
typeAliasDecl->getGenericParams () == nullptr ) {
343
343
TypeResolutionOptions options =
344
- TypeResolutionFlags::TypeAliasUnderlyingType;
344
+ TypeResolutionFlags::TypeAliasUnderlyingType;
345
345
if (!typeAliasDecl->getDeclContext ()->isCascadingContextForLookup (
346
346
/* functionsAreNonCascading*/ true )) {
347
347
options |= TypeResolutionFlags::KnownNonCascadingDependency;
Original file line number Diff line number Diff line change @@ -3815,9 +3815,6 @@ void TypeChecker::resolveIsObjC(ValueDecl *VD) {
3815
3815
auto dc = VD->getDeclContext ();
3816
3816
if (dc->getAsClassOrClassExtensionContext ()) {
3817
3817
// Members of classes can be @objc.
3818
-
3819
- // FIXME: We
3820
- validateDeclForNameLookup (VD);
3821
3818
}
3822
3819
else if (isa<ClassDecl>(VD)) {
3823
3820
// Classes can be @objc.
You can’t perform that action at this time.
0 commit comments