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

added debug for cli parse #776

Merged
merged 1 commit into from
Jun 3, 2024
Merged

added debug for cli parse #776

merged 1 commit into from
Jun 3, 2024

Conversation

brennanjl
Copy link
Collaborator

This adds debug functionality for kwil-cli utils parse. It replaces #739

@brennanjl brennanjl mentioned this pull request May 29, 2024
Comment on lines 13 to +16
IsSet bool `json:"-"`
StartLine int `json:"start_line"`
StartCol int `json:"start_col"`
EndLine int `json:"end_line"`
EndCol int `json:"end_col"`
StartLine int `json:"-"`
StartCol int `json:"-"`
EndLine int `json:"-"`
Copy link
Member

Choose a reason for hiding this comment

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

No opinion on this, but I'm curious why these needed to be hidden. Just too noisy in the document?

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, so much noise that it makes the document useless. There's also never really a case where these are necessary in the debug AST, since it is only used for error positions.

Copy link
Contributor

@Yaiba Yaiba left a comment

Choose a reason for hiding this comment

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

LGTM

@brennanjl brennanjl merged commit 18b6e78 into main Jun 3, 2024
2 checks passed
@brennanjl brennanjl deleted the cli-parse branch June 3, 2024 15:22
@jchappelow jchappelow added this to the v0.8.0 milestone Jun 7, 2024
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.

3 participants