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
ERROR: MethodError: no method matching load_preference(::Module, ::SubString{String}) Closest candidates are: load_preference(::Module, ::String) at C:\Users\Stuart.julia\packages\Preferences\TJoW1\src\Preferences.jl:35 load_preference(::Module, ::String, ::Any) at C:\Users\Stuart.julia\packages\Preferences\TJoW1\src\Preferences.jl:35
Perhaps just needs to use AbstractString instead of String ?
The text was updated successfully, but these errors were encountered:
Should just be a matter of widening ::String annotations on methods to ::AbstractString.
::String
::AbstractString
Sorry, something went wrong.
@sjdaines if you want to open a PR changing load_preference() to support AbstractString (and add a test for it) I'd be happy to review and merge!
load_preference()
AbstractString
No branches or pull requests
ERROR: MethodError: no method matching load_preference(::Module, ::SubString{String})
Closest candidates are:
load_preference(::Module, ::String) at C:\Users\Stuart.julia\packages\Preferences\TJoW1\src\Preferences.jl:35
load_preference(::Module, ::String, ::Any) at C:\Users\Stuart.julia\packages\Preferences\TJoW1\src\Preferences.jl:35
Perhaps just needs to use AbstractString instead of String ?
The text was updated successfully, but these errors were encountered: