Description
commit(s) to merge: d9b69e9 should be picked into the beta channel
merge instructions: clean merge
What is the issue:
We planned, and announced, that the dartanalyzer
command is deprecated in Dart 2.16: #46100
However, there was a mistake in how the deprecation output was added in cr 219702, so the deprecation messages ended up being added to a set of bin files that are only used internally during SDK development, and not in the actual bin/dartanalyzer
and bin/dartanalyzer.bat
files we ship in the SDK.
The intended output was added to the correct files in cr 229143.
What is the fix: Add simple print statements
Why cherrypick: We already announced the deprecation. If these messages don't go put in 2.16 there is a risk that developers might not realize that this command is deprecated.
Risk: Very low, just adds a print statement.
Link to original issue(s): #46100