From 57a2d695e2fb943147f8a4c886fd15b2c7b05d4f Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Sat, 19 Dec 2020 07:53:00 +1300 Subject: [PATCH] Removing the defs inside of blocks for now (#2798) --- crates/nu-parser/src/parse.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/nu-parser/src/parse.rs b/crates/nu-parser/src/parse.rs index 38ef09c933..cffe4d7d13 100644 --- a/crates/nu-parser/src/parse.rs +++ b/crates/nu-parser/src/parse.rs @@ -2245,10 +2245,10 @@ pub fn classify_block( } } - for def in scope.get_definitions() { - let name = def.params.name.clone(); - output.definitions.insert(name, def.clone()); - } + // for def in scope.get_definitions() { + // let name = def.params.name.clone(); + // output.definitions.insert(name, def.clone()); + // } (output, error) }