apoch / epoch-language

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

Allow construction of anonymous temporaries #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently all values must be explicitly named, which is a pain in the rear end 
for nontrivial cases, such as initializing nested structures. Allow the 
construction of unnamed temporary values via the syntax foo(bar, baz, quux) 
where bar baz and quux all refer to parameters to the foo constructor, and not 
identifiers.

This should be trivial to accomplish with automatically-generated overloads.

Original issue reported on code.google.com by don.ap...@gmail.com on 20 Dec 2010 at 6:38

GoogleCodeExporter commented 9 years ago
Implemented and committed

Original comment by don.ap...@gmail.com on 24 Dec 2010 at 6:03