mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Add some TODO comments
This commit is contained in:
parent
dd8f63b1ab
commit
3e9eef4d0e
2 changed files with 3 additions and 0 deletions
|
@ -6061,6 +6061,8 @@ fn run_low_level<'a, 'ctx, 'env>(
|
||||||
.module
|
.module
|
||||||
.get_function(bitcode::UTILS_EXPECT_FAILED)
|
.get_function(bitcode::UTILS_EXPECT_FAILED)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
// TODO get the actual line info instead of
|
||||||
|
// hardcoding as zero!
|
||||||
let callable = CallableValue::try_from(func).unwrap();
|
let callable = CallableValue::try_from(func).unwrap();
|
||||||
let start_line = context.i32_type().const_int(0, false);
|
let start_line = context.i32_type().const_int(0, false);
|
||||||
let end_line = context.i32_type().const_int(0, false);
|
let end_line = context.i32_type().const_int(0, false);
|
||||||
|
|
|
@ -82,6 +82,7 @@ macro_rules! run_jit_function {
|
||||||
let failures = get_expect_failures();
|
let failures = get_expect_failures();
|
||||||
|
|
||||||
if failures.count > 0 {
|
if failures.count > 0 {
|
||||||
|
// TODO tell the user about the failures!
|
||||||
let failures =
|
let failures =
|
||||||
unsafe { core::slice::from_raw_parts(failures.failures, failures.count) };
|
unsafe { core::slice::from_raw_parts(failures.failures, failures.count) };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue