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

Unified Diff: tests/language/named_constructor_lib.dart

Issue 32363003: Handle resolution of Class.named<TypeArg> correctly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 2 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/lib/isolate_helper.dart ('k') | tests/language/named_constructor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/named_constructor_lib.dart
diff --git a/runtime/bin/vmservice/client/out/web/observatory_main.dart b/tests/language/named_constructor_lib.dart
similarity index 64%
copy from runtime/bin/vmservice/client/out/web/observatory_main.dart
copy to tests/language/named_constructor_lib.dart
index d6028406b63c7d635aa29e6939ae7f91d876f9b2..210d54cf26271013d14239a66d32b897f3a564df 100644
--- a/runtime/bin/vmservice/client/out/web/observatory_main.dart
+++ b/tests/language/named_constructor_lib.dart
@@ -2,7 +2,10 @@
// 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 observatory_main;
+library named_constructor_lib;
-main() {
+class Class<T> {
+ final int value;
+ Class() : value = 2;
+ Class.named() : value = 3;
}
« no previous file with comments | « sdk/lib/_internal/lib/isolate_helper.dart ('k') | tests/language/named_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698