diff --git a/README.md b/README.md
index 00e5814..3530679 100644
--- a/README.md
+++ b/README.md
@@ -171,17 +171,13 @@ $ flavor --about # About FlavorLang
### Installation Instructions
-#### 1. Download & Extract the ZIP
-
-[FlavorLang Releases](https://github.com/KennyOliver/FlavorLang/releases)
+#### 1. Download & Extract the ZIP ([FlavorLang Releases](https://github.com/KennyOliver/FlavorLang/releases))
#### 2. Open VS Code and Navigate to the Extensions Tab
#### 3. Click the ... Menu and Select Install from VSIX...
-#### 4. Select the File in Finder or your File Explorer
-
-#### 5. Restart your Extensions via the Popup Notification
+#### 4. Restart your Extensions via the Popup Notification
### Make it Yourself
@@ -196,7 +192,7 @@ $ npm install
#### 2. Package the Extension
-Use vsce (Visual Studio Code Extension Manager) to build the `.vsix` package:
+Use `vsce` (Visual Studio Code Extension Manager) to build the `.vsix` package:
```bash
$ npx vsce package
diff --git a/src/interpreter/interpreter.c b/src/interpreter/interpreter.c
index ffb9412..ac01ff8 100644
--- a/src/interpreter/interpreter.c
+++ b/src/interpreter/interpreter.c
@@ -822,7 +822,7 @@ InterpretResult add_variable(Environment *env, Variable var) {
if (env->variables[i].is_constant) {
debug_print_int("Attempted to reassign to constant `%s`\n",
var.variable_name);
- return raise_error("Error: Cannot reassign to constant `%s`.\n",
+ return raise_error("Cannot reassign to constant `%s`.\n",
var.variable_name);
}
@@ -1606,18 +1606,7 @@ InterpretResult interpret_try(ASTNode *node, Environment *env) {
while (catch && !handled) {
Environment catch_env;
- init_environment(&catch_env);
-
- // Copy global functions to rescue environment
- for (size_t i = 0; i < env->function_count; i++) {
- Function *global_func = &env->functions[i];
- Function func_copy = {.name = strdup(global_func->name),
- .parameters = copy_function_parameters(
- global_func->parameters),
- .body = copy_ast_node(global_func->body),
- .is_builtin = global_func->is_builtin};
- add_function(&catch_env, func_copy);
- }
+ init_environment_with_parent(&catch_env, env);
// If there's an error variable, bind the exception to it
if (catch->error_variable) {
diff --git a/src/main.c b/src/main.c
index 6c76605..008714f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -285,17 +285,6 @@ int main(int argc, char **argv) {
debug_print_basic("Execution complete!\n");
}
- // Minify if flag is set (This check is redundant now since we already
- // handled minify above)
- /*
- if (options.minify) {
- char *minified_filename = generate_minified_filename(options.filename);
- minify_tokens(tokens, minified_filename);
- printf("Minified script written to '%s'\n", minified_filename);
- free(minified_filename);
- }
- */
-
// Clean up memory
free(tokens);
free(source);
diff --git a/src/tests/all.flv b/src/tests/all.flv
index 4ec2bd7..564c630 100644
--- a/src/tests/all.flv
+++ b/src/tests/all.flv
@@ -274,8 +274,8 @@ create test(num, func_a, func_b) {
deliver func_b(func_a(func_b(num)));
}
-let a = test(10, times_2, times_3); # 180
-serve(a);
+let calc17_result = test(10, times_2, times_3); # 180
+serve(calc17_result);
# ==================================================
# 18