Index: third_party/pkg/di/lib/reflected_type.dart |
diff --git a/third_party/pkg/di/lib/reflected_type.dart b/third_party/pkg/di/lib/reflected_type.dart |
deleted file mode 100644 |
index 35474e1e1ae413a155de326f14c1d5b69acf4b4f..0000000000000000000000000000000000000000 |
--- a/third_party/pkg/di/lib/reflected_type.dart |
+++ /dev/null |
@@ -1,14 +0,0 @@ |
-library di.src.reflected_type; |
- |
-import 'dart:mirrors' show ClassMirror; |
- |
-Map<ClassMirror, Type> _cache = <ClassMirror, Type>{}; |
- |
-// Removed the horrible hack to work around bug |
-// http://dartbug.com/12607 as it is no longer needed, nor does |
-// it work with the new MirrorsUsed tracking that disallows |
-// reflection on internal libraries. This will go away with an |
-// update of DI. |
-Type getReflectedTypeWorkaround(ClassMirror cls) { |
- return cls.reflectedType; |
-} |