| Index: dart/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| index 3adbd635aca1e16a64f64099bddb8779c2070077..0ae4696c703bac3a2df63802ae9081e3c5458e0a 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/runtime_types.dart
|
| @@ -663,6 +663,11 @@ class TypeRepresentationGenerator extends DartTypeVisitor {
|
| builder.write('null');
|
| }
|
|
|
| + visitVoidType(VoidType type, _) {
|
| + // TODO(ahe): Reify void type ("null" means "dynamic").
|
| + builder.write('null');
|
| + }
|
| +
|
| visitType(DartType type, _) {
|
| compiler.internalError('Unexpected type: $type (${type.kind})');
|
| }
|
|
|