| Index: lib/src/info.dart
|
| diff --git a/lib/src/info.dart b/lib/src/info.dart
|
| index b59c939982439c3c6e99722f6fda530fb5f87f85..03d4f67d459692565b5cb38e2f3d268aabff60cd 100644
|
| --- a/lib/src/info.dart
|
| +++ b/lib/src/info.dart
|
| @@ -374,6 +374,16 @@ class InvalidVariableDeclaration extends StaticError {
|
| String get message => 'Type check failed: null is not of type $expectedType';
|
| }
|
|
|
| +class InvalidParameterDeclaration extends StaticError {
|
| + final DartType expectedType;
|
| +
|
| + InvalidParameterDeclaration(
|
| + TypeRules rules, FormalParameter declaration, this.expectedType)
|
| + : super(declaration);
|
| +
|
| + String get message => 'Type check failed: $node is not of type $expectedType';
|
| +}
|
| +
|
| class InvalidRuntimeCheckError extends StaticError {
|
| final DartType type;
|
|
|
|
|