-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Follow-up hints for DYM? #18762
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
Comments
Not sure if the proper label is "linting" or "hinting". Probably a good Spree candidate! |
All suggestions are equally valid. Scala 2 is agnostic:
|
I agree it is important. But I think I'll leave this to others to improve further. My strategy is: when in doubt, it's better to hint less than more. So missing an "obvious" candidate is less problematic than suggesting improbably ones. That's why I am less concerned about missed word scramble, but duplicates are certainly a problem. Also, we should not |
If Spree doesn't take it, I will. Also, I was comparing while preparing to backport the Dotty improvements. Thanks again for being a trailblazer! (Only mildly poking fun, the improvement is modest by some measure, but makes a real difference.) I also enjoy the new rubric, "linting and hinting". |
I think Scala Spree has probably lots of other puzzlers to solve, so it's all yours, |
Compiler version
3.4.0-RC1-bin-SNAPSHOT-git-8046a8b
Minimized code
from test
another example where "word scramble" trumps edit length limits, dotty does not suggest
abc
foracb
:Dotty suggests
x
fory
becausey_=
is 3 chars:Output
As shown.
Expectation
No duplicate suggestion.
Taking "word scrambles" (all letters present but badly garbled by twitchy fingers) seems like a win.
Ignoring suffixes of setters seems like a win for the mutable crowd.
The text was updated successfully, but these errors were encountered: