News for hackers. Stuff that matters.
Re:The Swift compiler is slow due to how types are inferred by extrabajs on Wednesday June 12, 2024 @04:49PM (#40662951)
The problem isn’t that the type inference can’t figure out that it’s a number (it can). Subtyping makes inference difficult. There may be a function somewhere which takes arguments that could be made to accept a string and an int32 (or whatever other number type that literal could be).

There are no comments on this comment yet.