Describe the BugContext::const_string returns a VectorValue, when it is supposed to return an ArrayValue.
To Reproduce
The example in the docs clearly shows that the function does not return a VectorValue:
use inkwell::context::Context;
use inkwell::values::AnyValue;
let context = Context::create();
let string = context.const_string(b"my_string", false);
assert_eq!(string.print_to_string().to_string(), "[9 x i8] c\"my_string\"");
Expected BehaviorContext::const_string should return an ArrayValue.
LLVM Version (please complete the following information):
LLVM Version: 14.0.6
Inkwell Branch Used: llvm14-0
Desktop (please complete the following information):
Describe the Bug
Context::const_string
returns aVectorValue
, when it is supposed to return anArrayValue
.To Reproduce The example in the docs clearly shows that the function does not return a
VectorValue
:Expected Behavior
Context::const_string
should return anArrayValue
.LLVM Version (please complete the following information):
Desktop (please complete the following information):