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

Unified Diff: tests/lib/mirrors/metadata_test.dart

Issue 16147005: Version 0.5.14.3 . (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 7 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 | « sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart ('k') | tools/VERSION » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/metadata_test.dart
===================================================================
--- tests/lib/mirrors/metadata_test.dart (revision 23686)
+++ tests/lib/mirrors/metadata_test.dart (working copy)
@@ -17,6 +17,7 @@
class MyClass {
@hest @hest @symbol
var x;
+ var y;
@string @symbol @string
myMethod() => 1;
@@ -62,5 +63,8 @@
VariableMirror xMirror = myClassMirror.variables[const Symbol('x')];
checkMetadata(xMirror, [hest, hest, symbol]);
+ VariableMirror yMirror = myClassMirror.variables[const Symbol('y')];
+ checkMetadata(yMirror, []);
+
// TODO(ahe): Test local functions.
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart ('k') | tools/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698