radon icon indicating copy to clipboard operation
radon copied to clipboard

Error displaying issue.

Open Almas-Ali opened this issue 1 year ago • 4 comments

Describe the bug Error blocks are taking too much space (indent) some time.

Screenshots or Code snippets

 ./radon.py -s examples/io-test.rn
Enter an integer number: 34.3
Radiation (most recent call last):
  File examples/io-test.rn, line 3, in <program>
  File ***/radon/stdlib/io.rn, line 8, in get_int
  File ***/radon/stdlib/io.rn, line 8, in int
RuntimeError: Could not convert to int

            return int(_val)
                   ^^^^^^^^
During the handling of the above error, another error occurred:

Radiation (most recent call last):
RuntimeError: Invalid input

            raise radiation.ValueError("Invalid input")
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Almas-Ali avatar Jun 01 '24 12:06 Almas-Ali

@angelcaru could you please check this?

Almas-Ali avatar Jun 01 '24 20:06 Almas-Ali

I would if #162 wasn't literally the fix

angelcaru avatar Jun 01 '24 20:06 angelcaru

I would if #162 wasn't literally the fix

Sorry mentioned on wrong place. I was asking to review #162

Almas-Ali avatar Jun 01 '24 20:06 Almas-Ali

Still no progress on this issue. Need to figure it out.

Almas-Ali avatar Jun 08 '24 10:06 Almas-Ali