logoalt Hacker News

AgentMEyesterday at 9:52 PM1 replyview on HN

That's about letting you do Expression<int>, not about removing type erasure or otherwise allowing overloads based on type parameters.


Replies

gf000today at 4:56 AM

It's one end of the same problem.

int is not an Object, so just erasing is no longer a valid approach, you need to specialize the class/method itself to use int-specific byte code.