| Index: pkg/compiler/lib/src/resolution/members.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
|
| index c009b7a6fefa6a02c3bdcc38e246a253ccc9d55b..00b3725fa85c71a57e56f54c2441f176cfd19779 100644
|
| --- a/pkg/compiler/lib/src/resolution/members.dart
|
| +++ b/pkg/compiler/lib/src/resolution/members.dart
|
| @@ -1142,10 +1142,10 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
|
| DartType type =
|
| resolveTypeAnnotation(typeNode, registerCheckedModeCheck: false);
|
|
|
| - // GENERIC_METHODS: Method type variables are not reified so we must warn
|
| - // about the error which will occur at runtime.
|
| + // GENERIC_METHODS: Method type variables are not reified, so we must inform
|
| + // the developer about the potentially bug-inducing semantics.
|
| if (type is MethodTypeVariableType) {
|
| - reporter.reportWarningMessage(
|
| + reporter.reportHintMessage(
|
| node, MessageKind.TYPE_VARIABLE_FROM_METHOD_CONSIDERED_DYNAMIC);
|
| }
|
|
|
|
|