On 07/08/2015 11:57 AM, ketmar wrote:
On Wed, 08 Jul 2015 07:15:25 +0000, Yuxuan Shui wrote:

I think it will be useful to extent switch statement to support any type
that implements opEquals and opHash.

Is there any technical difficulties to implement this?

no, you can do that* with some template programming. so there is no
reason to increase compiler complexity.

* with some limitations, but they aren't that big.


The compiler complexity introduced by this change is trivial.
This is completely self-contained.

Reply via email to