Skip to content

Run-time error message can be hidden by edit-time warning #5412

@chrisjj

Description

@chrisjj

NOTE: edited to give better example

Expected Behavior

"ArithmeticException: / by 0"

image

Current Behavior

"The value of the local variable is not used"

image

Workaround: after ';' add a line break.

Steps to Reproduce

Run

int xxx,yyy;xxx=0/0;
println(xxx);

Your Environment

  • Processing version:
    3.3.6.

  • Operating System and OS version:
    Windows 7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions