| Index: pkg/docgen/test/multi_library_code/lib/test_lib.dart
|
| diff --git a/pkg/docgen/test/multi_library_code/lib/test_lib.dart b/pkg/docgen/test/multi_library_code/lib/test_lib.dart
|
| index 06d1ccf6dc4a4f23b06f883b1fb58621156c3399..0ecf007c83240033a2b88cd1b9f031cae8580213 100644
|
| --- a/pkg/docgen/test/multi_library_code/lib/test_lib.dart
|
| +++ b/pkg/docgen/test/multi_library_code/lib/test_lib.dart
|
| @@ -39,3 +39,22 @@ class A {
|
| B sampleMethod(C cInstance) {
|
| throw new UnimplementedError();
|
| }
|
| +
|
| +int positionalDefaultValues([int intConst = INT_CONST,
|
| + bool boolConst = BOOL_CONST, List listConst = LIST_CONST,
|
| + String stringConst = STRING_CONST, Map mapConst = MAP_CONST,
|
| + Map emptyMap = EMPTY_MAP_CONST]) {
|
| + throw new UnimplementedError();
|
| +}
|
| +
|
| +const int INT_CONST = 42;
|
| +
|
| +const bool BOOL_CONST = true;
|
| +
|
| +const LIST_CONST = const [true, 42, 'Shanna', null, 3.14, const []];
|
| +
|
| +const STRING_CONST = 'Shanna';
|
| +
|
| +const MAP_CONST = const {'a':1, 2: true, 'c': const [1,null,true]};
|
| +
|
| +const EMPTY_MAP_CONST = const {};
|
|
|