lcompilers / lpython

Python compiler
https://lpython.org/
Other
1.5k stars 158 forks source link

Combine `global_init` and `global_stmts` functions into `global_stmts` #2696

Closed Vipul-Cariappa closed 4 months ago

Vipul-Cariappa commented 4 months ago

Fixes: #2573

Shaikh-Ubaid commented 4 months ago

Please add the test case in https://github.com/lcompilers/lpython/issues/2573#issue-2165359850 as integration test. Please ensure you add assert and print before the assert appropriately.

Shaikh-Ubaid commented 4 months ago

Please mark this PR as "Ready for Review" when ready.