Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update lexicons to latest #468

Merged
merged 2 commits into from
Dec 12, 2023
Merged

update lexicons to latest #468

merged 2 commits into from
Dec 12, 2023

Conversation

whyrusleeping
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@bnewbold bnewbold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a confusing (to me) commented-out bit. Otherwise seems fine!

lex/gen.go Outdated
Comment on lines 1197 to 1202
/*
if len(ts.Properties) == 0 {
pf("type %s interface{}\n", name)
return nil
}
*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this intentional? if we'll come back to this later, a comment describing why it is commented out for now

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, this was actually not used for a long while, and now that it is again, we actually want empty structs defined (the threadgate rules are all empty structs with a type field)

@bnewbold
Copy link
Collaborator

also, while you are touching lexgen, might want to merge this small PR which reduces the number of manual tweaks required: #448

@whyrusleeping whyrusleeping force-pushed the feat/lexicon-update-dec8 branch from 8208bd2 to 5933059 Compare December 12, 2023 20:42
@whyrusleeping whyrusleeping merged commit 474c6af into main Dec 12, 2023
7 checks passed
@whyrusleeping whyrusleeping deleted the feat/lexicon-update-dec8 branch December 12, 2023 20:43
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