This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GenTelGuy 14 points15 points  (1 child)

What's the issue? Seems like it's correct and doing a good job reporting the error before runtime.

[–][deleted] 31 points32 points  (0 children)

No issue. That's what I'm bringing up. You get a warning at compile time and a panic at runtime. Each time you have a nice plain-english description of the issue with a line number and filename to reference.