commit | bc5d6135333da6f5ac7f2a8244870d0d0d723042 | [log] [tgz] |
---|---|---|
author | Mayank Patke <fishythefish@google.com> | Wed Mar 13 18:12:23 2019 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed Mar 13 18:12:23 2019 +0000 |
tree | b10e8ef0636a54e65da6f809f3b64ef1a9e10713 | |
parent | 7d560f8385eaeee0fd95ec08e25db0c217b1cd3e [diff] |
Fix typo in diagnostic when non-bool is passed to logical or. Change-Id: I406c062359a0dfbb89f22a6a6cb25017eed740e6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96823 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Mayank Patke <fishythefish@google.com>
diff --git a/pkg/compiler/lib/src/diagnostics/messages.dart b/pkg/compiler/lib/src/diagnostics/messages.dart index a3532c9..af208b1 100644 --- a/pkg/compiler/lib/src/diagnostics/messages.dart +++ b/pkg/compiler/lib/src/diagnostics/messages.dart
@@ -607,7 +607,7 @@ MessageKind.INVALID_LOGICAL_OR_OPERAND_TYPE: const MessageTemplate( MessageKind.INVALID_LOGICAL_OR_OPERAND_TYPE, - "`#{constant}` of type '#{type}' is not a valid logical and operand. " + "`#{constant}` of type '#{type}' is not a valid logical or operand. " "Must be a value of type 'bool'."), MessageKind.INVALID_CONSTANT_CONSTRUCTOR: const MessageTemplate(