add todo tests

This commit is contained in:
Kiryl Dziamura 2024-07-16 11:56:42 +02:00
parent 692f8e8090
commit 0086a531a2
No known key found for this signature in database
GPG key ID: FB539501A4561ACF

View file

@ -14503,4 +14503,38 @@ In roc, functions are always written as a lambda, like{}
make partial application explicit.
"
);
// TODO: add the following tests after built-in Tasks are added
// https://github.com/roc-lang/roc/pull/6836
// test_report!(
// suffixed_stmt_invalid_type,
// indoc!(
// r###"
// app "test" provides [main] to "./platform"
// main : Task U64 _ -> _
// main = \task ->
// task!
// 42
// "###
// ),
// @r""
// );
// test_report!(
// suffixed_expr_invalid_type,
// indoc!(
// r###"
// app "test" provides [main] to "./platform"
// main : Task U64 _ -> _
// main = \task ->
// result : U32
// result = task!
// result
// "###
// ),
// @r""
// );
}