The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
arry.sort!
include Indexable(T)
, the compiler was smart enough to tell me I didn't implement unsafe_fetch
. After I implemented that and tried using it, the compiler ended up overflowing the stack due to recursing infinitely. It wasn't until I implemented size
that it worked. It makes me wonder why it just blew the stack instead of complaining that I didn't implement size
.
--error-trace
on carc.in?