Don't skip code generation when static eval fails

This commit is contained in:
Andrew Morris
2023-07-06 20:11:46 +10:00
parent 90c276d915
commit c29b6d64ae

View File

@@ -287,7 +287,7 @@ impl ModuleCompiler {
"Determine whether initializer can be statically evaluated",
);
continue;
Value::String("(Static eval failed)".to_string())
}
};