Closed zenogantner closed 1 year ago
Please complete the information below:
https://docs.hhvm.com/hack/types/type-conversion
"No non-bool type can be converted implicitly to bool. All other conversions must be explicit." should be "No non-bool type can be converted implicitly to bool. All conversions must be explicit."
Same for int and float.
Please don't change anything below this point.
Hi, thank you for reporting this. I believe this issue to be a duplicate of #1334. Could you please explain how my belief is mistaken?
You're right.
Please complete the information below:
Where is the problem?
https://docs.hhvm.com/hack/types/type-conversion
What is the problem?
"No non-bool type can be converted implicitly to bool. All other conversions must be explicit." should be "No non-bool type can be converted implicitly to bool. All conversions must be explicit."
Same for int and float.
Please don't change anything below this point.