Hacker News new | ask | show | jobs
by taeric 1247 days ago
Isn't it already possible to choose which constructor to overload?
1 comments

With this change you can add logic to pick the overloaded constructor based on the value of the arguments (as opposed to the sequence of types)
ah yes, based on the value, not the types. Makes sense, thanks!