apoch / epoch-language

Home of the Epoch Programming Language Project
Other
72 stars 3 forks source link

Anonymous temporaries need to be reimplemented #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Once constructor support is back in, redo support for anonymous temporaries:

structure test :
    integer alpha,
    string beta

entrypoint :
{
    foo(test(42, "ding"))

    print("Pass")
}

foo : test param
{
    assert(param.alpha == 42)
    assert(param.beta == "ding")
}

Original issue reported on code.google.com by don.ap...@gmail.com on 2 Apr 2012 at 3:42

GoogleCodeExporter commented 9 years ago
Assigned to Release 12.

Original comment by don.ap...@gmail.com on 2 Apr 2012 at 4:16

GoogleCodeExporter commented 9 years ago
Implemented and committed.

Original comment by don.ap...@gmail.com on 19 Apr 2012 at 4:15