mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
fix errors
This commit is contained in:
parent
635e6058cc
commit
12f9bacf6e
1 changed files with 1 additions and 1 deletions
|
@ -2220,7 +2220,7 @@ fn single_tag_payload_fields<'a, 'b>(
|
|||
) -> (String, RocSingleTagPayload) {
|
||||
let layout = env.layout_cache.interner.get(in_layout);
|
||||
|
||||
if std::env::var_os("SINGLE_TAG_GLUE_CHECK_OFF").as_deref() != Some("1") {
|
||||
if std::env::var("SINGLE_TAG_GLUE_CHECK_OFF").as_deref() != Ok("1") {
|
||||
// There should be a glue_procs_by_layout entry iff this layout has a closure in it,
|
||||
// so we shouldn't need to separately check that. Howeevr, we still do a debug_assert
|
||||
// anyway just so we have some warning in case that relationship somehow didn't hold!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue