Commits
Chris Lattner committed ac0662003c6
add a note to clarify a potentially confusing case of an improperly defined conversion function. In this case we now produce:
test/expressions.swift:316:4: error: inferred type 'bool' is not compatible with integer literals
4 //expected-error {{inferred type 'bool' is not compatible with integer literals}}
^
test/expressions.swift:312:3: note: while processing argument of conversion function to inferred type 'int_test5'
plus func convert_from_integer_literal(val : bool) -> int_test5 {} // expected-note {{while processing argument of conversion function to inferred type 'int_test5'}}
^
test/expressions.swift:315:1: note: while converting 'var' initializer to declared type
var il_g : int_test5 = // expected-note {{while converting 'var' initializer}}
^
Swift SVN r961