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

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

Issue 10837359: Language tests updated to use const instead of final. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Instance fields are never const. Created 8 years, 4 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
OLDNEW
1 class Foo { 1 class Foo {
2 final Bar<Foo> bar = const Bar/* comment here use to trigger bug 323 */(); 2 const Bar<Foo> bar = const Bar/* comment here use to trigger bug 323 */();
3 } 3 }
4 4
5 class Bar<T extends Foo> { 5 class Bar<T extends Foo> {
6 const Bar(); 6 const Bar();
7 } 7 }
8 8
9 main() { 9 main() {
10 Expect.equals(new Foo().bar, const Bar()); 10 Expect.equals(new Foo().bar, const Bar());
11 } 11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698