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

Unified Diff: test_reflectable/test/polymer_basic_needs_test.dart

Issue 1289933004: Implements support for reflection on parameters. (Closed) Base URL: https://github.com/dart-lang/reflectable.git@master
Patch Set: Merging with code from Sigurd, caused several adjustments Created 5 years, 4 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
« no previous file with comments | « test_reflectable/test/parameter_test.dart ('k') | test_reflectable/test/proxy_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test_reflectable/test/polymer_basic_needs_test.dart
diff --git a/test_reflectable/test/polymer_basic_needs_test.dart b/test_reflectable/test/polymer_basic_needs_test.dart
index 0687ebe3c831b414e751ea6aa034c258ef5e6e21..566bbb9757c46e45e3ff2c5d15c32a782937a70a 100644
--- a/test_reflectable/test/polymer_basic_needs_test.dart
+++ b/test_reflectable/test/polymer_basic_needs_test.dart
@@ -49,8 +49,10 @@ ThinDeclarationMirror makeThin(DeclarationMirror declaration) {
}
class MyReflectable extends Reflectable {
- const MyReflectable() : super(instanceInvokeCapability);
+ const MyReflectable()
+ : super(instanceInvokeCapability, declarationsCapability);
}
+
const myReflectable = const MyReflectable();
List<DeclarationMirror> _query(Type dartType) {
« no previous file with comments | « test_reflectable/test/parameter_test.dart ('k') | test_reflectable/test/proxy_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698