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
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
fun get_val() -> i64 {
return 1;
}
let data = raw[1,2,3]
unsafe {
// note that a literal here, or an explicitly typed
// index do work in this case.
data[get_val()]
}
error:
/home/jason/june/examples/june_hello_world/build/debug/main.c:395:71: error: too few arguments to functioncall, single argument 'allocation_id' was not specified
(*((/* data */ variable_2) + (/* get_val */ function_1(/* UNKNOWN,*/))));~~~~~~~~~~ ^
/home/jason/june/examples/june_hello_world/build/debug/main.c:387:23: note: 'function_1' declared here
int64_t /* get_val */ function_1(long allocation_id){
^
1 error generated.
thread 'main' panicked at src/main.rs:90:17:
Clang did not compile successfully
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error:
See related issue #43 and #41
The text was updated successfully, but these errors were encountered: