lcompilers / lpython

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

Segfault while printing `dataclass` in REPL #2793

Open Vipul-Cariappa opened 2 months ago

Vipul-Cariappa commented 2 months ago

While printing dataclass in REPL, LPython segfaults. Printing of dataclass in REPL is being supported by #2785.

Reference: https://github.com/lcompilers/lpython/pull/2785#discussion_r1686592482 and https://github.com/lcompilers/lpython/pull/2785#issuecomment-2243134157