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

Side by Side Diff: dart/tests/lib/async/deferred/deferred_constant_library.dart

Issue 15096006: Handle constants that mix eager and deferred types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Imported by deferred_function_test.dart and 5 library deferred_constant_library;
6 // deferred_semantics_test.dart.
7 6
8 library deferred_function_library; 7 class Constant {
8 final value;
9 const Constant(this.value);
9 10
10 foo(x) { 11 operator==(other) => other is Constant && value == other.value;
11 print('foo($x)');
12 return 42;
13 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698