mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Disabled auto-applying of a fixit for "" in migrator.
This also fixes rdar://20940643: Migrator thinks that Float[]? should be [Float];? Swift SVN r28565
This commit is contained in:
@@ -416,6 +416,10 @@ private:
|
||||
if (Info.ID == diag::missing_unwrap_optional.ID)
|
||||
return false;
|
||||
|
||||
// Do not add a semi as it is wrong in most cases during migration
|
||||
if (Info.ID == diag::statement_same_line_without_semi.ID)
|
||||
return false;
|
||||
|
||||
if (Kind == DiagnosticKind::Error)
|
||||
return true;
|
||||
if (Info.ID == diag::parameter_pound_double_up.ID ||
|
||||
|
||||
Reference in New Issue
Block a user