mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[FixCode] Pick up fixit for let->var change
This is an important fixit, but was lost because it is on the note instead of the error. rdar://problem/26593117
This commit is contained in:
@@ -575,6 +575,7 @@ private:
|
||||
Info.ID == diag::forced_downcast_noop.ID ||
|
||||
Info.ID == diag::variable_never_mutated.ID ||
|
||||
Info.ID == diag::function_type_no_parens.ID ||
|
||||
Info.ID == diag::convert_let_to_var.ID ||
|
||||
Info.ID == diag::parameter_extraneous_double_up.ID)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user