This makes the broader enum -> Int change source-compatible.
The IDE's auto-replace only partly works, because the deprecated ContributesBinding.priority parameter only works as documentation. Devs can auto-replace the enum entry with the corresponding integer, but if they're using a named argument, it will wind up with something like priority = RANK_NORMAL.
This makes the broader
enum
->Int
change source-compatible.The IDE's auto-replace only partly works, because the deprecated
ContributesBinding.priority
parameter only works as documentation. Devs can auto-replace the enum entry with the corresponding integer, but if they're using a named argument, it will wind up with something likepriority = RANK_NORMAL
.