https://d.puremagic.com/issues/show_bug.cgi?id=12290
--- Comment #5 from Steven Schveighoffer <[email protected]> 2014-03-03 08:10:38 PST --- Definitely related. In both cases, the compiler is inferring the type of the literal based on the defined type of the literal rather than how it's used. In both cases, choosing a smaller integer type will satisfy the call, and should be done. Yes, in 4998, the example does not provide enough information in the signature itself to figure out the correct type to use, which is why the proposal is given. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
