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

Side by Side Diff: tests/language/regress_19413_test.dart

Issue 337663002: Handle ambiguous prefix members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/language/regress_19413_foo.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Test that a type variable is not in scope for metadata declared on the type 5 // Regression test for issue 19413.
6 // declaration.
7 6
8 @deprecated 7 import 'regress_19413_foo.dart' as foo;
9 class Foo 8 import 'regress_19413_bar.dart' as foo;
10 <deprecated> /// 01: ok
11 {}
12 9
13 main() { 10 main() {
14 Foo f = null; 11 foo.f(); /// 01: static type warning, runtime error
15 } 12 }
OLDNEW
« no previous file with comments | « tests/language/regress_19413_foo.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698