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

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

Issue 1653833002: Add shared tests demonstrating bugs #25624, #25625, and #25626. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
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.
4
5 // Verify that a getter and its corresponding setter can be imported from two
6 // different files. In this test the setter is imported first.
7
8 import "package:expect/expect.dart";
9
10 import "accessor_conflict_setter.dart";
11 import "accessor_conflict_getter.dart";
12
13 main() {
14 getValue = 123;
15 Expect.equals(x, 123);
16 x = 456;
17 Expect.equals(setValue, 456);
18 }
OLDNEW
« no previous file with comments | « tests/language/accessor_conflict_getter.dart ('k') | tests/language/accessor_conflict_import_prefixed2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698