hhvm / user-documentation

Documentation for those that use HHVM and write Hack code.
http://docs.hhvm.com/
Other
129 stars 159 forks source link

odd wording of conversion rules #1353

Closed zenogantner closed 1 year ago

zenogantner commented 1 year ago

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.


lexidor commented 1 year ago

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?

zenogantner commented 1 year ago

You're right.