Commit 968b81e0 authored by Stefan's avatar Stefan
Browse files

Make default attributes work for erasable args

* src/lparse.ml (get_implicit_arg): New fun, extracted from handle_fun_args.
(instantiate_implicit, infer_call.handle_fun_args): Ue it.
(get_attribute): Return an option.
(sform_get_attribute): Explicitly handle failure.
parent 06bd99aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment