apoch / epoch-language

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

Function signatures are not validated for function references as structure members #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Structure members which are function references do not support any form of 
signature validation; i.e. it is possible to pass a non-conforming function to 
the constructor or member-mutator of the structure and thereby cause runtime 
chaos.

Add function signature data to the structure metadata so that it is possible to 
validate (both statically and, if necessary, dynamically) that functions 
assigned to function reference structure members provide the correct signature.

Original issue reported on code.google.com by don.ap...@gmail.com on 29 Dec 2010 at 7:08

GoogleCodeExporter commented 9 years ago
Fixes implemented.

Original comment by don.ap...@gmail.com on 2 Jan 2011 at 12:26