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
lib LibFoo
struct Bar
str : LibC::Char*
end
end
shmee = LibFoo::Bar.new
shmee.str = "borkborkbork"
Execution:
± crystal build --release eek.cr
Module validation failed: inlinable function call in a function with debug info must have a !dbg location
%77 = call i8* @"*String#to_unsafe:Pointer(UInt8)"(%String* bitcast ({ i32, i32, i32, [13 x i8] }* @"'borkborkbork'" to %String*))
0x10f633743: *raise<String>:NoReturn at ??
0x110613a6b: *Crystal::CodeGenVisitor#finish:Nil at ??
0x11053f03e: *Crystal::Compiler#codegen<Crystal::Program, Crystal::ASTNode+, Array(Crystal::Compiler::Source), String>:(Tuple(Array(Crystal::Compiler::CompilationUnit), Array(String)) | Nil) at ??
0x110de3764: *Crystal::Compiler#compile<Array(Crystal::Compiler::Source), String>:Crystal::Compiler::Result at ??
0x10f6a0aeb: *Crystal::Command#run:(Bool | Crystal::Compiler::Result | IO::FileDescriptor | Nil) at ??
0x10f66cb9d: main at ??
Example code:
Execution:
Environment:
The text was updated successfully, but these errors were encountered: