misc low hanging fruit fixes (#3034)

Fixes #2235 
Fixes #2236 
Fixes #2963 
Fixes #3027
This commit is contained in:
ManDude
2023-09-27 00:59:07 +01:00
committed by GitHub
parent a662150327
commit 170cbd7e6c
7 changed files with 40 additions and 33 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ Val* Compiler::compile_cond(const goos::Object& form, const goos::Object& rest,
throw_compiler_error(form, "Cond from cannot have any cases after else.");
}
if (test.is_symbol() && symbol_string(test) == "else") {
if (test.is_symbol("else")) {
got_else = true;
}