// 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; |