You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when running ./dev/bots/analyze.dart I noticed that the deprecations validator truncates its error message just before the v of the version, which made it less obvious in the error message. I had taken the template from the docs as verbatim, but overlooked a typo.
@Deprecated(
'[description of how to migrate] '
'[brief motivation for why we are breaking the API] '
'This feature was deprecated after v[beta version at time of deprecation].'
)
For #178242 I was looking to add a new deprecation.
I looked at the docs in https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#deprecations to see how the deprecation message is structured and started working on my PR.
However, when running
./dev/bots/analyze.dartI noticed that the deprecations validator truncates its error message just before thevof the version, which made it less obvious in the error message. I had taken the template from the docs as verbatim, but overlooked a typo.Proposal
change the template to the following, since I presume that more people might take the template as verbatim?