Reachability.jl icon indicating copy to clipboard operation
Reachability.jl copied to clipboard

WIP Refactor discrete-post-option creation

Open schillic opened this issue 7 years ago • 2 comments

~Closes #379.~

Now that #464 got merged, these options still need to be revised. So I keep this PR open as a reference, but we should start a new approach.

schillic avatar Nov 01 '18 16:11 schillic

This is a valid approach but i have hesitated because removing the function call from Options, we loose:

  • checking that the given option has the good type (merge doesn't know)
  • the debug options (verbose) in check_aliases_and_add_default_value!
  • handling aliases

mforets avatar Nov 01 '18 18:11 mforets

True, the "real" solution is to have #255. Both approaches are not perfect. The current implementation uses functions that are not supposed to be used that way. So it is a hack which also does not work.

handling aliases

Currently we do not have aliases for those options.

schillic avatar Nov 01 '18 18:11 schillic