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

Side by Side Diff: tests/compiler/dart2js/mock_libraries.dart

Issue 1301373009: Fix typo in lookup map, use pub_semver to check version constraints in dart2js (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « pkg/lookup_map/pubspec.yaml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // Library for creating mock versions of platform and internal libraries. 5 // Library for creating mock versions of platform and internal libraries.
6 6
7 library mock_libraries; 7 library mock_libraries;
8 8
9 String buildLibrarySource( 9 String buildLibrarySource(
10 Map<String, String> elementMap, 10 Map<String, String> elementMap,
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 final _entries; 427 final _entries;
428 final _nestedMaps; 428 final _nestedMaps;
429 429
430 const LookupMap(this._entries, [this._nestedMaps = const []]) 430 const LookupMap(this._entries, [this._nestedMaps = const []])
431 : _key = null, _value = null; 431 : _key = null, _value = null;
432 432
433 const LookupMap.pair(this._key, this._value) 433 const LookupMap.pair(this._key, this._value)
434 : _entries = const [], _nestedMaps = const []; 434 : _entries = const [], _nestedMaps = const [];
435 V operator[](K k) => null; 435 V operator[](K k) => null;
436 }''', 436 }''',
437 '_version': 'const _version = "0.0.1";', 437 '_version': 'const _version = "0.0.1+1";',
438 }; 438 };
OLDNEW
« no previous file with comments | « pkg/lookup_map/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698