whiley_test_file 0.6.2

An API for manipulating test files for the Whiley Programming Language.
Documentation
original.name="Reference_Valid_13"
======
>>> main.whiley
type Point is {int x, int y}
// Attempt to break JavaScript handling of native references.
public export method test():
    Point p = {x:1,y:2}
    // Create pointer to distinct value
    &Point ptr = new p
    // Update distinct value
    ptr->x = 123
    // Check what's changed
    assert p.x == 1
    assert p.y == 2
    assert ptr->x == 123
    assert ptr->y == 2
    
    
---