mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
Corrects two typoes in the error messages for overrides.
Change-Id: I1c4be04cb69232149376a7f115f3ce556ad33567 Reviewed-on: https://dart-review.googlesource.com/75020 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Daniel Hillerström <hillerstrom@google.com>
This commit is contained in:
parent
cdb9336fc0
commit
7d3ee69e15
2 changed files with 6 additions and 6 deletions
|
@ -5678,7 +5678,7 @@ const MessageCode messageOperatorWithOptionalFormals = const MessageCode(
|
|||
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||
const Template<Message Function(String name)> templateOverriddenMethodCause =
|
||||
const Template<Message Function(String name)>(
|
||||
messageTemplate: r"""This is the overriden method ('#name').""",
|
||||
messageTemplate: r"""This is the overridden method ('#name').""",
|
||||
withArguments: _withArgumentsOverriddenMethodCause);
|
||||
|
||||
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||
|
@ -5690,7 +5690,7 @@ const Code<Message Function(String name)> codeOverriddenMethodCause =
|
|||
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||
Message _withArgumentsOverriddenMethodCause(String name) {
|
||||
return new Message(codeOverriddenMethodCause,
|
||||
message: """This is the overriden method ('${name}').""",
|
||||
message: """This is the overridden method ('${name}').""",
|
||||
arguments: {'name': name});
|
||||
}
|
||||
|
||||
|
@ -5759,7 +5759,7 @@ const Template<
|
|||
name3)> templateOverrideMismatchNamedParameter = const Template<
|
||||
Message Function(String name, String name2, String name3)>(
|
||||
messageTemplate:
|
||||
r"""The method '#name' doesn't have the named parameter '#name2' of overriden method '#name3'.""",
|
||||
r"""The method '#name' doesn't have the named parameter '#name2' of overridden method '#name3'.""",
|
||||
withArguments: _withArgumentsOverrideMismatchNamedParameter);
|
||||
|
||||
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
||||
|
@ -5776,7 +5776,7 @@ Message _withArgumentsOverrideMismatchNamedParameter(
|
|||
String name, String name2, String name3) {
|
||||
return new Message(codeOverrideMismatchNamedParameter,
|
||||
message:
|
||||
"""The method '${name}' doesn't have the named parameter '${name2}' of overriden method '${name3}'.""",
|
||||
"""The method '${name}' doesn't have the named parameter '${name2}' of overridden method '${name3}'.""",
|
||||
arguments: {'name': name, 'name2': name2, 'name3': name3});
|
||||
}
|
||||
|
||||
|
|
|
@ -1776,11 +1776,11 @@ OverrideTypeVariablesMismatch:
|
|||
analyzerCode: INVALID_METHOD_OVERRIDE_TYPE_PARAMETERS
|
||||
|
||||
OverriddenMethodCause:
|
||||
template: "This is the overriden method ('#name')."
|
||||
template: "This is the overridden method ('#name')."
|
||||
severity: CONTEXT
|
||||
|
||||
OverrideMismatchNamedParameter:
|
||||
template: "The method '#name' doesn't have the named parameter '#name2' of overriden method '#name3'."
|
||||
template: "The method '#name' doesn't have the named parameter '#name2' of overridden method '#name3'."
|
||||
severity: ERROR_LEGACY_WARNING
|
||||
analyzerCode: INVALID_OVERRIDE_NAMED
|
||||
|
||||
|
|
Loading…
Reference in a new issue