Skip to content

Function captures: [] vs nil #3

@rmolinari

Description

@rmolinari

Function captures have some tricky corner cases. See the README for some details.

Check how a returned value of [] is handled.

  • Has an empty array been captured?
  • Or has nothing been captured?

If the latter, is there any difference between [] and nil? If there is no difference, can we separate them to gain better overall semantics?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions