-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wingman/tactics "hole_severity" option is broken #502
Comments
Many thanks for noting it, good catch! I have to figure what could be the values matching the language server config type ( Would you like and have time to open a pr to fix it? |
Ping @berberman as you have the expertise about the server and client config. |
Sure, I can try. I will probably work on it this weekend =) |
@jneira Sorry, I tried to fix it, but I guess I failed in the attempt. I realized that with any config I tried to use, Wingman suggestions are always the same...Tbh, at this point, I'm not sure if I understood correctly how this work, I mean, what behavior should this option modify?) Btw I tried using
or
and also number with:
^ Despite the error doesn't appear anymore, I didn't find any difference, so probably those options won't work.. |
many thanks for checking it, i am afraid my knowledge about wingman internals is very limited, maybe @berberman or @isovector could help us to understand the config values or how to effectively test they are bein taken in account |
Oh, just kidding. I see it now. This is definitely a bug in the property parser, not in Wingman. |
This should instead be a function of the enum type? Or maybe it should always be |
This is a regression caused by me in haskell/haskell-language-server#1608. I'm not sure what the best fix is though. The test case there uses a string as the |
Maybe we should change the values here, making them fit the parser requirements (i think for enums it should accept the enum constructor names all in lower case) |
Not sure about the parser --- this instance is defined upstream and the spec seems to agree that this should be an |
Right, it should use |
closed by #511 |
I don't think that's a fix --- the file is generated automatically, right? |
we can generate a "template" using
note the type "string" |
issue in hls: haskell/haskell-language-server#2423 |
VS code doesn't allow to setup number options due to a "Invalid type. Expected string"
^
1
,2
,3
,4
are integers, but "validation" requires string.integer
(btw, instead ofnull
it could use0
)"1"
,"2"
,"3"
,"4"
The text was updated successfully, but these errors were encountered: