Skip to content

Behave differently from the type system #5

@aigarashi

Description

@aigarashi

The following program is verified in the current implementation, (and it's logically correct)
but it's not type-checked in the type system.

{
    let x = mkref 1 in 
    let y = x in 
    let a = *y in
    let b = *y in  {
        x := 2; 
        assert(a = b)
    }
}

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