Open tknopp opened 8 years ago
But is it ever? Does it produce ambiguity warnings?
No, of course not always. Actually this produced a very subtle bug when changing
get(inifile, key, 1.0)
to get(inifile, key, "1.0")
API-wise its not clear to me why
get(inifile::IniFile.Inifile, key::AbstractString, notfound)
should be accessible for any type but a String.
So this bug was meant to report this API issue.
The following definitions are ambiguous
if the default value
notfound
is of typeAbstractString