You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app (master)$ crystal -v
Crystal 0.20.5 (2017-01-20)
app (master)$ crystal build --release src/app.cr
Module validation failed: inlinable function call in a function with debug info must have a !dbg location
%0 = call %"WeakRef(Resp)"* @"*WeakRef(Resp)@WeakRef(T)::allocate:WeakRef(Resp)"(i32 1104)
0x101765993: *raise<String>:NoReturn at ??
0x102594d7a: *Crystal::CodeGenVisitor#finish:Nil at ??
0x1024df55d: *Crystal::Compiler#codegen<Crystal::Program, Crystal::ASTNode+, Array(Crystal::Compiler::Source), String>:Nil at ??
0x1017bacb4: *Crystal::Command#run:(Bool | Crystal::Compiler::Result | IO::FileDescriptor | Nil) at ??
0x10178c087: main at ??
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
The text was updated successfully, but these errors were encountered:
slowernet
changed the title
crystal-ohm causes "Module validation failed" with --release
crystal-ohm causes "Module validation failed" with --release
Jan 27, 2017
@slowernet Thanks for adding me. I think it may have to do with some change in 0.20.5, as I had it working with the previous version. I will check the release notes to see if I find something.
app.rb:
shard.yml:
Thanks.
The text was updated successfully, but these errors were encountered: