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

Unified Diff: reflectable/lib/src/mirrors_unimpl.dart

Issue 1181413005: Implement newInstance in the transformer. (Closed) Base URL: https://github.com/dart-lang/reflectable.git@master
Patch Set: Address review Created 5 years, 6 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 | « no previous file | reflectable/lib/src/transformer_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: reflectable/lib/src/mirrors_unimpl.dart
diff --git a/reflectable/lib/src/mirrors_unimpl.dart b/reflectable/lib/src/mirrors_unimpl.dart
index c82dcff549b2b01c1487a9c68768309dc7a154e6..574a1d5d818443cab1b0ef027e825b151cf6c489 100644
--- a/reflectable/lib/src/mirrors_unimpl.dart
+++ b/reflectable/lib/src/mirrors_unimpl.dart
@@ -180,9 +180,8 @@ class MethodMirrorImpl implements MethodMirror {
@override
String get constructorName => name;
- // We do not support reflection on abstract methods.
@override
- bool get isAbstract => 0 != descriptor & constants.abstractAttribute;
+ bool get isAbstract => 0 != descriptor & constants.abstractAttribute;
@override
bool get isConstConstructor => 0 != descriptor & constants.constAttribute;
« no previous file with comments | « no previous file | reflectable/lib/src/transformer_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698