Skip to content

Need to add POPC op code before return in try statement without finally clause. #305

@Kray-G

Description

@Kray-G
try {
    return something();
} catch (e) {
    error();
}

There is no output of POPC when using return statement with expression in try statement without finally clause.
This may cause a crash by accessing invalid stack field when exception occurs.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions