Skip to content

Comments

Fix use of hash value type#4

Merged
FCO merged 1 commit intoFCO:masterfrom
vrurg:fix-hash-object-default
Nov 20, 2023
Merged

Fix use of hash value type#4
FCO merged 1 commit intoFCO:masterfrom
vrurg:fix-hash-object-default

Conversation

@vrurg
Copy link
Contributor

@vrurg vrurg commented Nov 19, 2023

First of all, don't use positional parameter of role's signature where it is used at compile-time. In particular, is default would then unconditionally be set to Mu because this is what is the positional's value when role body is compiled.

Second, override of method because the default one relies on hash own container descriptor and knows nothing about role's value type.

First of all, don't use positional parameter of role's signature where
it is used at compile-time. In particular, `is default` would then
unconditionally be set to `Mu` because this is what is the positional's
value when role body is compiled.

Second, override `of` method because the default one relies on hash own
container descriptor and knows nothing about role's value type.
@FCO FCO merged commit 5995f15 into FCO:master Nov 20, 2023
@FCO
Copy link
Owner

FCO commented Nov 20, 2023

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants