FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[BUG] Lifetime safety guards fail through pointers · Issue #1385 · hsutter/cppfront · GitHub

[BUG] Lifetime safety guards fail through pointers #1385

Description

Describe the bug

It seems like the pointers creating a memory issues here.

To Reproduce

main: () -> int = {
    y: * int;
    {
        x := unique.new<int>(10);
        y = x*&;
    }
    std::cout << y* ;
}

Compiled with Clang and pure Cpp2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL