blob: fe00502f07437be14654c4124919e598d651fa70 [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}{O}{N}], value: false, powerset: {I}{O}{N})*/
foo(
/*Value([exact=JSBool|powerset={I}{O}{N}], value: false, powerset: {I}{O}{N})*/ x,
) {
return x;
}
/*member: bar:[null|powerset={null}]*/
bar(
/*Value([exact=JSBool|powerset={I}{O}{N}], value: false, powerset: {I}{O}{N})*/ x,
) {
if (x) {
print("aaa");
} else {
print("bbb");
}
}
/*member: main:[null|powerset={null}]*/
main() {
bar(foo(false));
bar(foo(foo(false)));
}