Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
index 7954c4e5a4b27b15514185791a2389d9bd2e701a..1c1acb27bc294a45f533d0e58369833632fa0ffb 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart |
@@ -438,6 +438,11 @@ typeName(type) => JS('', '''(() => { |
return $type.toString(); |
} |
+ // Wrapped types |
+ if ($type instanceof $WrappedType) { |
+ return "Wrapped(" + $unwrapType($type) + ")"; |
+ } |
+ |
// Instance types |
let tag = $_getRuntimeType($type); |
if (tag === $Type) { |