Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
fixes a small typo in the `INVOCATION_OF_NON_FUNCTION_EXPRESSION` message

Closes #35589
#35589

GitOrigin-RevId: b30d584
Change-Id: I623ebd0f5113e4bc8b1e07bfd963c27a28c7fef0
Reviewed-on: https://dart-review.googlesource.com/c/88603
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
  • Loading branch information
MaxBittker authored and commit-bot@chromium.org committed Jan 7, 2019
1 parent f6ce65b commit 2c09a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyzer/lib/src/error/codes.dart
Expand Up @@ -3016,7 +3016,7 @@ class StaticTypeWarningCode extends ErrorCode {
*/
static const StaticTypeWarningCode INVOCATION_OF_NON_FUNCTION_EXPRESSION =
const StaticTypeWarningCode('INVOCATION_OF_NON_FUNCTION_EXPRESSION',
"The expression doesn't evaluate to a function, so it can't invoked.");
"The expression doesn't evaluate to a function, so it can't be invoked.");

/**
* 12.20 Conditional: It is a static type warning if the type of
Expand Down

0 comments on commit 2c09a4c

Please sign in to comment.