apoch / epoch-language

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

Nested structures have wonky semantics #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Nested structures seem to flip-flop between value and reference semantics due 
to a bug in the compiler. Track this down and fix it.

Original issue reported on code.google.com by don.ap...@gmail.com on 31 Dec 2010 at 11:07

GoogleCodeExporter commented 9 years ago
This can also affect buffers that are members of nested structures; be sure to 
fix COPY_BUFFER to work like COPY_STRUCT so that buffers can be copied prior to 
passing to by-value function parameters.

Original comment by don.ap...@gmail.com on 26 Mar 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Corrected; fix committed.

Original comment by don.ap...@gmail.com on 26 Mar 2011 at 9:02