Skip to content

Commit a9825bb

Browse files
author
Nathan Hawes
committed
[migrator] Add -warn-swift3-objc-inference to the new migrator fixit whitelist. Fixes test failure in Swift(macosx-x86_64).Migrator.objc_inference.swift
1 parent 0a27a89 commit a9825bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/Migrator/FixitFilter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ struct FixitFilter {
101101
Info.ID == diag::deprecated_protocol_composition_single.ID ||
102102
Info.ID == diag::deprecated_any_composition.ID ||
103103
Info.ID == diag::deprecated_operator_body.ID ||
104-
Info.ID == diag::unbound_generic_parameter_explicit_fix.ID)
104+
Info.ID == diag::unbound_generic_parameter_explicit_fix.ID ||
105+
Info.ID == diag::objc_inference_swift3_addobjc.ID)
105106
return true;
106107

107108
return false;

0 commit comments

Comments
 (0)