| Index: test/codegen/misc.dart
|
| diff --git a/test/codegen/misc.dart b/test/codegen/misc.dart
|
| index 8081cce4421a692abb240ca956eecd267cfa1831..4bde2571312ed0648287dacf4828e5eb1a913bbf 100644
|
| --- a/test/codegen/misc.dart
|
| +++ b/test/codegen/misc.dart
|
| @@ -7,9 +7,21 @@
|
| const UNINITIALIZED = const _Uninitialized();
|
| class _Uninitialized { const _Uninitialized(); }
|
|
|
| +class Generic<T> {
|
| + Type get type => Generic;
|
| +}
|
| +
|
| main() {
|
| // Number literals in call expressions.
|
| print(1.toString());
|
| print(1.0.toString());
|
| print(1.1.toString());
|
| +
|
| + // Type literals, #184
|
| + dynamic x = 42;
|
| + print(x == dynamic);
|
| + print(x == Generic);
|
| +
|
| + // Should be Generic<dynamic>
|
| + print(new Generic<int>().type);
|
| }
|
|
|