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

Unified Diff: pkg/polymer/test/mirror_loader_4.dart

Issue 225043004: Replace bootstrap logic with 'boot.js', use 'component/dart' mime-type and add (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/polymer/test/mirror_loader_4.dart
diff --git a/pkg/polymer/test/mirror_loader_4.dart b/pkg/polymer/test/mirror_loader_4.dart
new file mode 100644
index 0000000000000000000000000000000000000000..7d882af816190baebb0e9e2e2514bd7601283d43
--- /dev/null
+++ b/pkg/polymer/test/mirror_loader_4.dart
@@ -0,0 +1,21 @@
+library mirror_loader_test4;
+
+import 'dart:html';
+import 'package:polymer/polymer.dart';
+
+@CustomTag('x-a')
+class XA extends PolymerElement {
+ final String x = "a";
+ XA.created() : super.created();
+}
+
+// The next classes are here as a regression test for darbug.com/17929. Our
+// loader was incorrectly trying to retrieve the reflectiveType of these
+// classes.
+class Foo<T> {}
+
+@CustomTag('x-b')
+class XB<T> extends PolymerElement {
+ final String x = "a";
+ XB.created() : super.created();
+}

Powered by Google App Engine
This is Rietveld 408576698