Skip to content

Generalize is_constructor to can_return and also have a check for -> void  #517

@KANAjetzt

Description

@KANAjetzt
          i'd still generalize `is_constructor` to `can_return` and also have a check for `-> void` being present. it's currently completely fine to return a method even if that method is statically typed (see image). but i would assume this will be fixed at some point, so we should not neglect it. 

image
topic for a follow up pr

Originally posted by @Qubus0 in #515 (review)

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions