Comment by mrkeen Comment by mrkeen 2 days ago 1 reply Copy Link View on Hacker News Fail to compile when you assign something which isn't an integer to an integer.
Copy Link michaelcampbell 2 days ago Collapse Comment - None of that code does that; the "issue" is with `==` between an int and an Integer. I'd accept a failure to compile _that_, but that does kind of kill the utility of the 99.9% of times where auto-boxing and unboxing is syntactically simpler. Reply View | 0 replies
None of that code does that; the "issue" is with `==` between an int and an Integer. I'd accept a failure to compile _that_, but that does kind of kill the utility of the 99.9% of times where auto-boxing and unboxing is syntactically simpler.