Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why would the compiler complain? Doing a narrowing type conversion is a perfectly legitimate thing to do. So when you ask the compiler to do it, it should.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: