Skip to content

Off by one error in stack traces #2627

@orpuente-MS

Description

@orpuente-MS

Describe the bug

There is an off by one error in the stack trace line when logging a runtime error.

To Reproduce

Paste this code in the editor and run it. Then look at the stack trace.

function Main() : Unit {
    fail "line 2";
}

Expected behavior

The stack trace should report the failure at line 2, but reports it at line 1.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions