[CP] Deprecation message for dartanalyzer command #48176
Labels
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-review
Issue that need cherry pick triage to approve
legacy-area-analyzer
Use area-devexp instead.
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: #46100However, 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
andbin/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
/cc @mit-mit @whesse @athomas @vsmenon @devoncarew
The text was updated successfully, but these errors were encountered: