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 capabilities for lists and sets #2733

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

advikkabra
Copy link
Collaborator

@advikkabra advikkabra commented Jun 14, 2024

Now lists can be included in code with the -g flag.

For example,

a: list[i32] = [1, 2]

The above code can be compiled with lpython name.py -g --debug-with-line-column.

Sets can also be included.

Copy link
Collaborator

@czgdp1807 czgdp1807 left a comment

Choose a reason for hiding this comment

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

Add an example of how to use this flag in the description of this PR. I am approving this but not enabling auto-merge.

@advikkabra advikkabra changed the title Added debug capabilities for lists Added debug capabilities for lists and sets Jun 26, 2024
@advikkabra advikkabra merged commit 426a29c into lcompilers:main Jun 26, 2024
14 checks passed
@advikkabra advikkabra deleted the debug-flags branch June 26, 2024 06:17
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