Skip to content

fix typing_info: size trait_decls hash from traits array#10

Open
cuiweixie wants to merge 1 commit intomoonbitlang:mainfrom
cuiweixie:fix/typing-info-trait-hash-capacity
Open

fix typing_info: size trait_decls hash from traits array#10
cuiweixie wants to merge 1 commit intomoonbitlang:mainfrom
cuiweixie:fix/typing-info-trait-hash-capacity

Conversation

@cuiweixie
Copy link
Copy Markdown

Summary

  • In init_types, the trait_decls hash table initial capacity used Array.length types; it should use Array.length traits to match the data being stored.

Test plan

  • Run compiler/tests that exercise type/trait registration if available.

init_types used Array.length types for trait_decls capacity; use traits.
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.

1 participant