Skip to content

Fix sort decl not being correctly calculated#3042

Merged
rv-jenkins merged 2 commits intodevelopfrom
fix3038-sortDecl
Nov 15, 2022
Merged

Fix sort decl not being correctly calculated#3042
rv-jenkins merged 2 commits intodevelopfrom
fix3038-sortDecl

Conversation

@radumereuta
Copy link
Copy Markdown
Contributor

Fixes: #3038
Because Module.sortAttributesFor() was only looking for SyntaxSort it would ignore sorts defined through productions and it would crash when queried.
This makes it so it will always contain the sort but with an empty list of attributes.

@rv-jenkins rv-jenkins changed the base branch from master to develop November 14, 2022 19:18
@rv-jenkins rv-jenkins merged commit c5c7a13 into develop Nov 15, 2022
@rv-jenkins rv-jenkins deleted the fix3038-sortDecl branch November 15, 2022 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[K-Bug] Key lookup exception for hooked string2token function in imported module

3 participants