We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We use -Xfatal-warnings + -Xlint:unsound-match, which is good for preventing runtime MatchErrors on incomplete matches on sealed subtypes.
-Xfatal-warnings
-Xlint:unsound-match
MatchErrors
However, selectReader accepts a partial function.
selectReader
I think that partial argument, even if implemented to actually be useful for something, shouldn't be the default.
The text was updated successfully, but these errors were encountered:
#29 replace PartialFunction with Function1 in selectReader functions …
82a7dfe
…of JsonReaderBuilder
eld0727
No branches or pull requests
We use
-Xfatal-warnings
+-Xlint:unsound-match
, which is good for preventing runtimeMatchErrors
on incomplete matches on sealed subtypes.However,
selectReader
accepts a partial function.selectReader
argumentI think that partial argument, even if implemented to actually be useful for something, shouldn't be the default.
The text was updated successfully, but these errors were encountered: