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/
The error is being thrown from the c rystal_sigfault_handler, and my guess right now is that there is some sort of loop that is entered in the compiled code, but not the interpreted code, which is why there is the behavior difference.
I'd be curious to see if it still fails on the current crystal main branch, since at least some of that code has changed a little.
A = [] of Int32
{% A << "1".id %}
A
Unhandled exception: can't execute `__temp_499[0] = 1` at eval:1:5: `1` has no type (Exception)
T
from the including type
A class inherits all instance variables and all instance and class methods of a superclass, including its constructors (new and initialize).
seems they should
InnerClass
must also be a generic
path.match?(pattern)
to wrap around File.match?(pattern, path)
? https://crystal-lang.org/api/1.0.0/File.html#match?(pattern:String,path:Path%7CString)-class-method
MIME
module you can use to get it from the filename/ext