DescriptionFix ill-formatted error messages in analyzer.
Previously, two analyzer error messages (one recently introduced by
me, and one that has been around for a while) failed to provide enough
arguments to populate the error message template, resulting in
user-visible strings like "{0}" showing up in error messages.
This CL fixes the problem, and safeguards against it happening again
in the future by adding assertions to verify, at the time the error
message is formatted, that enough arguments were passed.
R=scheglov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=44911
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|