diff options
Diffstat (limited to 'cli/repl.rs')
-rw-r--r-- | cli/repl.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cli/repl.rs b/cli/repl.rs index 57e517bd7..1c723ec59 100644 --- a/cli/repl.rs +++ b/cli/repl.rs @@ -126,9 +126,7 @@ pub async fn run( Some(json!({ "expression": format!("'use strict'; void 0;\n{}", &wrapped_line), "contextId": context_id, - // TODO(caspervonb) set repl mode to true to enable const redeclarations and top - // level await - "replMode": false, + "replMode": true, })), ) .await?; @@ -145,9 +143,7 @@ pub async fn run( Some(json!({ "expression": format!("'use strict'; void 0;\n{}", &line), "contextId": context_id, - // TODO(caspervonb) set repl mode to true to enable const redeclarations and top - // level await - "replMode": false, + "replMode": true, })), ) .await? |