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

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: Updated cf. comments 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
« no previous file with comments | « tests/language/compile_time_constant_o_test.dart ('k') | tests/language/const_init_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tests/language/compile_time_constant_o_test.dart ('k') | tests/language/const_init_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698