Skip to content

Raise error if function is defined which sometimes returns a value and sometimes doesn't #464

Open
@fingolfin

Description

Could we perhaps enhance the code reading functions to detect if they sometimes return nothing, and sometimes return a value? I can't think of any reason why a function like that would be sensible, on the other hand they can b a source of bugs.

Initially, this could be just a warning, but on the long run, it might become an error.

Metadata

Assignees

No one assigned

    Labels

    gapsagedays2016Issues and PRs that arose at https://www.gapdays.de/gap-sage-days2016kind: enhancementLabel for issues suggesting enhancements; and for pull requests implementing enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions