Closed
Description
Followup to #7138:
Consider the output here:
https://github.com/rescript-lang/rescript-compiler/blob/41e2fd64dc166a6f092d65ddbf607d4b2878f0b4/tests/tests/src/UntaggedVariants.mjs#L403
if (match$3 === undefined || match$3 === null || match$3 === false || match$3 === true) {
console.log("Nope...");
return;
}
if (typeof match$3 === "string" && match$3 === "My name is") {
could just be
if (match$3 === "My name is") {
Metadata
Metadata
Assignees
Labels
No labels