+1
-1
compiler-core/src/type_/expression.rs
+1
-1
compiler-core/src/type_/expression.rs
···
5016
) => match (fun_one.variant_index(), fun_other.variant_index()) {
5017
// Both have to be literal record builders, otherwise we can't really tell
5018
// anything at compile time!
5019
-
(None, None) | (None, Some(_)) | (Some(_), None) => StaticComparison::CantTell,
5020
5021
// If they're both literal record builders and are building different
5022
// variants, then we know they'll always be different.
···
5016
) => match (fun_one.variant_index(), fun_other.variant_index()) {
5017
// Both have to be literal record builders, otherwise we can't really tell
5018
// anything at compile time!
5019
+
(None, _) | (_, None) => StaticComparison::CantTell,
5020
5021
// If they're both literal record builders and are building different
5022
// variants, then we know they'll always be different.