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

Sync Libasr for Runtime Stacktrace #2350

Conversation

Thirumalai-Shaktivel
Copy link
Collaborator

LFortran PR: lfortran/lfortran#2531

@@ -1,3 +1,5 @@
File "tests/runtime_errors/test_raise_01.py", line 1
def test():
File "tests/runtime_errors/test_raise_01.py", line 4
test()
File "tests/runtime_errors/test_raise_01.py", line 2
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The new location info (main_program Program node info) is useless for LPython, but it is required for LFortran.

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, I knew this would be an issue. It's fine for now, we can refine this as we go. Possibly not doing so many indirections in LPython.

@Thirumalai-Shaktivel
Copy link
Collaborator Author

This PR is ready!
Should I implement or fix anything here?

Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

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

I think that this is fine to merge. Thanks!

@Thirumalai-Shaktivel Thirumalai-Shaktivel merged commit add3b83 into lcompilers:main Sep 30, 2023
12 checks passed
@Thirumalai-Shaktivel Thirumalai-Shaktivel deleted the runtime_stacktrace_01 branch September 30, 2023 02:46
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.

None yet

2 participants