Index: pkg/compiler/lib/src/js_backend/mirrors_data.dart |
diff --git a/pkg/compiler/lib/src/js_backend/mirrors_data.dart b/pkg/compiler/lib/src/js_backend/mirrors_data.dart |
index 651f436c8e6498d77bb6f678f2ec7004d9fa91c2..ffe599739cbb6493d9317edb45e40ae1995d9cdc 100644 |
--- a/pkg/compiler/lib/src/js_backend/mirrors_data.dart |
+++ b/pkg/compiler/lib/src/js_backend/mirrors_data.dart |
@@ -181,20 +181,20 @@ class MirrorsData { |
} |
ClassElement _getDartClass(ClassElement cls) { |
- if (cls == _commonElements.intClass) { |
- return _helpers.jsIntClass; |
- } else if (cls == _commonElements.boolClass) { |
- return _helpers.jsBoolClass; |
- } else if (cls == _commonElements.numClass) { |
- return _helpers.jsNumberClass; |
- } else if (cls == _commonElements.doubleClass) { |
- return _helpers.jsDoubleClass; |
- } else if (cls == _commonElements.stringClass) { |
- return _helpers.jsStringClass; |
- } else if (cls == _commonElements.listClass) { |
- return _helpers.jsArrayClass; |
- } else if (cls == _commonElements.nullClass) { |
- return _helpers.jsNullClass; |
+ if (cls == _helpers.jsIntClass) { |
Johnni Winther
2017/03/13 11:24:10
A fix from another CL.
Siggi Cherem (dart-lang)
2017/03/14 05:43:59
this is the CL you landed separately, correct?
Johnni Winther
2017/03/15 13:15:43
Yes.
|
+ return _commonElements.intClass; |
+ } else if (cls == _helpers.jsBoolClass) { |
+ return _commonElements.boolClass; |
+ } else if (cls == _helpers.jsNumberClass) { |
+ return _commonElements.numClass; |
+ } else if (cls == _helpers.jsDoubleClass) { |
+ return _commonElements.doubleClass; |
+ } else if (cls == _helpers.jsStringClass) { |
+ return _commonElements.stringClass; |
+ } else if (cls == _helpers.jsArrayClass) { |
+ return _commonElements.listClass; |
+ } else if (cls == _helpers.jsNullClass) { |
+ return _commonElements.nullClass; |
} else { |
return cls; |
} |