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

Unified Diff: tests/language/metadata_scope1_test.dart

Issue 296463003: Handle metadata on nested function parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update comment. Created 6 years, 7 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: tests/language/metadata_scope1_test.dart
diff --git a/pkg/docgen/test/multi_library_code/lib/test_lib2_foo.dart b/tests/language/metadata_scope1_test.dart
similarity index 58%
copy from pkg/docgen/test/multi_library_code/lib/test_lib2_foo.dart
copy to tests/language/metadata_scope1_test.dart
index 1b3d037c5bce3add4829e93b527bc5eb7f01f821..e7820778a57892b3bf75f346bf036ea1108cbcb8 100644
--- a/pkg/docgen/test/multi_library_code/lib/test_lib2_foo.dart
+++ b/tests/language/metadata_scope1_test.dart
@@ -2,14 +2,14 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library test_lib2_foo;
+// Test that a type variable is not in scope for metadata declared on the type
+// declaration.
-export 'test_lib2_bar.dart';
-
-class Foo {
-
-}
+@deprecated
+typedef Foo
+<deprecated> /// 01: ok
+();
main() {
- print('hello world');
+ Foo f = null;
}

Powered by Google App Engine
This is Rietveld 408576698