To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit dcf7e59a authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano
Browse files

Fixed equallity checking for MuFuncSig's

parent 58b884a7
......@@ -804,13 +804,18 @@ impl MuType_ {
}
/// MuFuncSig represents a Mu function signature
#[derive(PartialEq, Debug)]
#[derive(Debug)]
pub struct MuFuncSig {
pub hdr: MuEntityHeader,
pub ret_tys: Vec<P<MuType>>,
pub ret_tys : Vec<P<MuType>>,
pub arg_tys: Vec<P<MuType>>
}
impl PartialEq for MuFuncSig {
fn eq(&self, other: &MuFuncSig) -> bool {
self.ret_tys == other.ret_tys && self.arg_tys == other.arg_tys
}
}
rodal_struct!(MuFuncSig{hdr, ret_tys, arg_tys});
impl fmt::Display for MuFuncSig {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment