Open atacratic opened 4 years ago
I think this is relevant to https://github.com/unisonweb/unison/issues/1324, due to both the arguments of todo
being declared Optional
.
I can raise a PR to make the first argument Required
.
On second look, it would look like pull
might suffer from the same?
The issue is triggered by the "error" in the last section of the handler.
todo auto
=> go (0, (, t) : ) = Just t
todo start_typing_auto
=> go (0, (, t) : ) = Just t
todo x start_typing
=> Optional parameters only work at position 0, under this countdown scheme
Changing this to Required + Optional
as @anovstrup observed is probably not the right thing to do. (Although due to the nature of the countdown scheme appears to work when tested... :thinking: )
@aryairani any suggestions for how to proceed with this one? Ideally would like to add a unit test or two as well, but unclear if there is value in that.
I excitedly pull a juicy-looking PR:
I type the following and hit tab
ucm
crashes with no output :-(Other tab-completes seem to be working for me OK.
This is master@ae95dc.