Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart

Issue 2301973002: More DDC mirrors support (Closed)
Patch Set: Format fixes per comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698