blob: 3c9bad0e13a90e32730467cf2e74edb5d9bc32d9 [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
main() {
final aList = <int>[
1,
if (oracle()) 2,
if (oracle()) 3 else -1,
if (oracle()) if (oracle()) 4
];
final aSet = <int>{
1,
if (oracle()) 2,
if (oracle()) 3 else -1,
if (oracle()) if (oracle()) 4
};
print(aList);
print(aSet);
}
oracle() => true;