Several symbols are incorrectly renamed #2289
Labels
bug
Something isn’t working
op-ex
Refactoring, Tech Debt or any other operational excellence work.
release blocker
Needs to be resolved before the release.
Milestone
Several availability attributes specify misleading
renamed:
arguments that result in broken code. For example, take this code targeting v0.38:After #2230, this code produces the following deprecation warning and fix-it suggestion:
which turns it into the nonsensical:
which results in this error:
renamed:
is only a little more sophisticated than a straight-up find-and-replace in that it splits the replacement string by colons. Anything requiring a more complex edit needs to go in amessage:
. The followingrenamed:
arguments are misleading and need to be replaced bymessage:
:mapbox-navigation-ios/MapboxCoreNavigation/OfflineDirections.swift
Lines 79 to 80 in f634a37
mapbox-navigation-ios/MapboxNavigation/MapboxVoiceController.swift
Line 260 in f634a37
mapbox-navigation-ios/MapboxCoreNavigation/LegacyRouteController.swift
Lines 537 to 539 in f634a37
mapbox-navigation-ios/MapboxNavigation/NavigationViewController+Obsolete.swift
Lines 22 to 24 in f634a37
mapbox-navigation-ios/MapboxNavigation/NavigationViewController+Obsolete.swift
Lines 55 to 58 in f634a37
/cc @mapbox/navigation-ios
The text was updated successfully, but these errors were encountered: