To reproduce:
echo 'puts "Hello World!"' >hw.crcrystal build --release hw.crcrystal: /var/cache/omnibus/src/llvm/llvm-3.8.1.src/lib/CodeGen/LexicalScopes.cpp:160: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(const llvm::DILocalScope*): Assertion `cast<DISubprogram>(Scope)->describes(MF->getFunction())' failed.
/usr/bin/crystal: line 102: 13365 Aborted (core dumped) "$INSTALL_DIR/embedded/bin/crystal" "$@"
I would love to try crystal. I am sure there must be something missing in the toolchain somehow. I've browsed around similar issues here, and there is obviously a problem, but I haven't encountered a fix.
Duplicate of #4719, please search before making an issue.
I hadn't seen that one, that is pretty identical to this issue. So there is no resolution or fix for this??
Not currently, no. There's a workaround: don't build with release, and use --no-debug.
@RX14 You can build with --release --no-debug.
Most helpful comment
@RX14 You can build with
--release --no-debug.