Hacker News new | ask | show | jobs
by lizmat 2616 days ago
Type checking is runtime, although if the static optimizer can figure out that a certain call will never work at compile time, it will throw a compile time error.
1 comments

On the other hand, if the static optimizer can figure out that a certain call will always work at compile time, it can remove the runtime check for that part.