mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Reorganize repl modules
This commit is contained in:
parent
9f498add60
commit
a6c1667d37
9 changed files with 400 additions and 359 deletions
|
@ -270,6 +270,8 @@ pub async fn entrypoint_from_js(src: String) -> Result<String, String> {
|
|||
target_info,
|
||||
);
|
||||
|
||||
let val_name = String::new(); // TODO
|
||||
|
||||
// Transform the Expr to a string
|
||||
// `Result::Err` becomes a JS exception that will be caught and displayed
|
||||
match format_answer(arena, res_answer, expr_type_str, val_name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue