Skip to content

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
@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