blob: 35030be9d1676eafe06c9f07dc4feb1f4f135101 [file] [log] [blame]
// Copyright (c) 2018, 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.
/*member: foo:Value([exact=JSBool|powerset={I}], value: false, powerset: {I})*/
foo(/*Value([exact=JSBool|powerset={I}], value: false, powerset: {I})*/ x) {
return x;
}
/*member: bar:[null|powerset={null}]*/
bar(/*Value([exact=JSBool|powerset={I}], value: false, powerset: {I})*/ x) {
if (x) {
print("aaa");
} else {
print("bbb");
}
}
/*member: main:[null|powerset={null}]*/
main() {
bar(foo(false));
bar(foo(foo(false)));
}