Hacker News new | past | comments | ask | show | jobs | submit login

They are separate types, not a type alias, but some conversions are automatic. The rule for assignability also affects comparisons and function calls (including expressions containing them), but apparently not all expressions like I thought?



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

Search: