Skip to content

functions no longer return what subfunctions return to them #2634

Closed
@SEKCobra

Description

@SEKCobra

Before yesterday I was using 1.0.6, and many of the libraries I am using have functions which call another function and have a returntype, but no explicit return. They returned the value of the function inside them automatically, but with 1.6 it no longer does that, it just always returns 0. Is there any way to at least get a warning about this? Like returntype defined but null returned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions