lua icon indicating copy to clipboard operation
lua copied to clipboard

Bad stacktrace annotation

Open davydog187 opened this issue 1 year ago • 0 comments

When we have the following stacktrace

 [
  {{:luerl_lib_basic, :error_call, :undefined}, ["this step will fail"],
   [file: "luerl_lib_basic.erl"]},
  {"-no-name-", [tref: 196], [file: "-no-file-", line: 4]},
  {"-no-name-", [], [file: "-no-file-", line: 38]}
]

We generate a stacktrace like

script line 4:error("this step will fail")
"-no-name-" with arguments ()
^--- self is incorrect for object with keys

This is not correct. This was error was created from an internal test case

davydog187 avatar Nov 14 '24 18:11 davydog187