Fix order of reading optional pair values from elisp.

main
Tom Alexander 4 months ago
parent 3131f8ac64
commit 4b3fc20c62
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -520,10 +520,10 @@ fn compare_optional_pair<'e, 's, 'w>(
});
}
let emacs_optval = emacs
.first()
.get(2)
.expect("If-statement proves this will be Some.");
let emacs_val = emacs
.get(2)
.first()
.expect("If-statement proves this will be Some.");
result.extend(compare_json_value(source, emacs_optval, wasm_optval)?)?;
result.extend(compare_json_value(source, emacs_val, wasm_val)?)?;

Loading…
Cancel
Save