|
|
@ -66,8 +66,7 @@ let compare i1 i2 => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
let equal i1 i2 =>
|
|
|
|
let equal i1 i2 => i1.stamp === i2.stamp && i1.kind === i2.kind && name_equal i1.name i2.name
|
|
|
|
i1.stamp === i2.stamp && i1.kind === i2.kind && name_equal i1.name i2.name
|
|
|
|
|
|
|
|
/* most unlikely first */;
|
|
|
|
/* most unlikely first */;
|
|
|
|
|
|
|
|
|
|
|
|
let fieldname_equal fn1 fn2 => fieldname_compare fn1 fn2 == 0;
|
|
|
|
let fieldname_equal fn1 fn2 => fieldname_compare fn1 fn2 == 0;
|
|
|
@ -148,6 +147,9 @@ let name_to_string (name: name) => name;
|
|
|
|
/** Convert a fieldname to a string. */
|
|
|
|
/** Convert a fieldname to a string. */
|
|
|
|
let fieldname_to_string fn => Mangled.to_string fn.fname;
|
|
|
|
let fieldname_to_string fn => Mangled.to_string fn.fname;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Convert a fieldname to a string, including the mangled part. */
|
|
|
|
|
|
|
|
let fieldname_to_complete_string fn => Mangled.to_string_full fn.fname;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Convert a fieldname to a simplified string with at most one-level path. */
|
|
|
|
/** Convert a fieldname to a simplified string with at most one-level path. */
|
|
|
|
let fieldname_to_simplified_string fn => {
|
|
|
|
let fieldname_to_simplified_string fn => {
|
|
|
|