1
Vote

Allow constructor arguments to be provided at runtime

description

Currently, when an object is created, the constructor along with all its arguments must be specified in the Anise script. This change would make it so that you could pass in a list of arguments when creating an object. Those arguments would then be used to dynamically choose which constructor is appropriate, and would then be passed into that constructor to build the object. This supports cases where you would like to create an object which requires an argument which isn't available until the program is already running.

comments