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

Unified Diff: tests/language/type_variable_scope2_test.dart

Issue 11229002: Handle type variable in static member. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Status updated Created 8 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
Index: tests/language/type_variable_scope2_test.dart
diff --git a/tests/language/type_variable_scope2_test.dart b/tests/language/type_variable_scope2_test.dart
index 1c039142f223ac7f69373bd785c14db3c23a51bb..d75426b2e5ce408ed02aa8bf5ee32f38efc91eda 100644
--- a/tests/language/type_variable_scope2_test.dart
+++ b/tests/language/type_variable_scope2_test.dart
@@ -16,7 +16,9 @@ isCheckedMode() {
class Foo<T> {
// T is not in scope for a static method.
- static Foo<T> m() {
+ static
+ Foo<T> /// 01: compile-time error
ahe 2012/10/23 11:34:58 I would like to see a reference to the specificati
+ m() {
return new Foo();
}
}

Powered by Google App Engine
This is Rietveld 408576698