File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1741,13 +1741,11 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
17411741 genericSubInvocation.setRuntimeResourcePath (SearchPathOpts.RuntimeResourcePath );
17421742 }
17431743
1744- // Inhibit warnings from the genericSubInvocation since we are assuming the user
1745- // is not in a position to address them. (Unless we're verifying, in which
1746- // case they might.)
1747- if (requestedAction != FrontendOptions::ActionType::Typecheck) {
1748- genericSubInvocation.getDiagnosticOptions ().SuppressWarnings = true ;
1749- GenericArgs.push_back (" -suppress-warnings" );
1750- }
1744+ // Inhibit warnings from the genericSubInvocation since we are assuming the
1745+ // user is not in a position to address them.
1746+ genericSubInvocation.getDiagnosticOptions ().SuppressWarnings = true ;
1747+ GenericArgs.push_back (" -suppress-warnings" );
1748+
17511749 // Inherit the parent invocation's setting on whether to suppress remarks
17521750 if (suppressRemarks) {
17531751 genericSubInvocation.getDiagnosticOptions ().SuppressRemarks = true ;
Original file line number Diff line number Diff line change 55// REQUIRES: OS=macosx
66
77extension Array {
8- @_hasStorage public var foo: Int { get set } // expected-warning {{'@_hasStorage' attribute cannot be applied to declaration in extension}}
8+ @_hasStorage public var foo: Int { get set }
99}
You can’t perform that action at this time.
0 commit comments