Sitelet https://github.com/starkware-libs/cairo/commit/6867fc5bd58da3f2a35f2cc23fbb98fb63b30334
Skip to content

Commit 6867fc5

Browse files
committed
bugfix(corelib): Disable ability to dict-new on illegal types.
1 parent b86539a commit 6867fc5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎corelib/src/dict.cairo‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ impl Felt252DictEntryImpl<T, +Felt252DictValue<T>> of Felt252DictEntryTrait<T> {
203203
}
204204
}
205205

206-
impl Felt252DictDefault<T> of Default<Felt252Dict<T>> {
206+
impl Felt252DictDefault<T, +Felt252DictValue<T>> of Default<Felt252Dict<T>> {
207207
/// Returns a new empty dictionary.
208208
///
209209
/// # Examples

0 commit comments

Comments
 (0)