Fix Dynamic hashing.

This commit is contained in:
Stephen Chung
2021-06-06 14:47:32 +08:00
parent c02d702081
commit 859a18c6fd
2 changed files with 63 additions and 16 deletions

View File

@@ -263,7 +263,7 @@ pub type FnCallArgs<'a> = [&'a mut Dynamic];
/// A general function pointer, which may carry additional (i.e. curried) argument values
/// to be passed onto a function during a call.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Hash)]
pub struct FnPtr(Identifier, StaticVec<Dynamic>);
impl FnPtr {