Skip to content

Unhandled and undesired borrow error #31

@timfennis

Description

@timfennis
let x = 0
let g = fn(a, b) { print(x); a + b }
x g= 3

outputs:

thread 'main' panicked at src/interpreter/environment.rs:154:20:
already mutably borrowed: BorrowError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingerror messageAn error message was unclear or incorrect

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions