Skip to content

[Bug]: expecting lifetime checker error for returning ref to local owned var field #27072

Open
@mppf

Description

@mppf

Summary of Problem

Description:
I was thinking about a case to demonstrate the lifetime checker and came up with this one. However, I was surprised to find out that it doesn't cause a lifetime checking error.

Is this issue currently blocking your progress?
No

Steps to Reproduce

See associated future test

Associated Future Test(s):
test/classes/delete-free/lifetimes/return-ref-to-owned-local.chpl #27071

Configuration Information

chpl 2.5 pre-release

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions