Hacker News new | ask | show | jobs
by laumars 4420 days ago
But you could explicitly declare the string table and still try to put an integer into it. Your example isn't an issue of type inference, it's an issue with the developer not properly tracking what variables store what types in his/her own code.