On 6/16/2012 4:37 AM, Timon Gehr wrote:
On 06/16/2012 02:48 AM, Walter Bright wrote:
On 6/15/2012 5:11 AM, Timon Gehr wrote:
Why not allow equality operators to operate on types?

Generally because of parsing problems.

What kind of problems? All types fit into the expression grammar well enough.
(pointer types should require parentheses in order to simplify parsing)

Perhaps it is possible if () are required, but one would have to carefully go through all the cases.

Reply via email to