Skip to content

Commit

Permalink
Merge pull request #1322 from cryspen/rand-core-traits
Browse files Browse the repository at this point in the history
Proof libs (F*): fix trait inheritance in rand-core
  • Loading branch information
franziskuskiefer authored Feb 21, 2025
2 parents 81f9b2f + 06c5205 commit 72a2a92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proof-libs/fstar/core/Rand_core.fsti
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ class t_RngCore (t_Self: Type0) = {
}

class t_CryptoRng (t_Self: Type0) = {
[@@@FStar.Tactics.Typeclasses.tcinstance]
_super_core: t_RngCore t_Self;
marker_trait: unit
}

class t_CryptoRngCore (t_Self: Type0) = {
[@@@FStar.Tactics.Typeclasses.tcinstance]
_super_crypto: t_CryptoRng t_Self;
f_rngcore: t_Self -> t_Self
}

Expand Down

0 comments on commit 72a2a92

Please sign in to comment.