Remove panicking line in Args.roc

This commit is contained in:
Ayaz Hafiz 2022-11-15 10:11:47 -06:00
parent 27c2bd025d
commit f0fbf16be6
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -124,8 +124,7 @@ toHelp = \parser ->
succeed : a -> Parser a succeed : a -> Parser a
succeed = \val -> @Parser (Succeed val) succeed = \val -> @Parser (Succeed val)
# TODO: check overflows when this annotation is included toHelpHelper : Parser *, List Config -> Help
# toHelpHelper : Parser *, List Config -> Help
toHelpHelper = \@Parser parser, configs -> toHelpHelper = \@Parser parser, configs ->
when parser is when parser is
Succeed _ -> Config configs Succeed _ -> Config configs