fix(library/coercion): remove spurious '\n'

This commit is contained in:
Leonardo de Moura 2014-09-12 13:08:47 -07:00
parent a2e36e97f2
commit 62585f1c56

View file

@ -115,7 +115,7 @@ static void check_valid_coercion(name const & f, expr const & t) {
throw exception(sstream() << "invalid coercion, type of '" << f << "' does not match any of the allowed expected types for coercions\n"
<< " Pi (x_1 : A_1) ... (x_n : A_n) (y: C x_1 ... x_n), D t_1 ... t_m\n"
<< " Pi (x_1 : A_1) ... (x_n : A_n) (y: C x_1 ... x_n), Type\n"
<< " Pi (x_1 : A_1) ... (x_n : A_n) (y: C x_1 ... x_n), A -> B\n");
<< " Pi (x_1 : A_1) ... (x_n : A_n) (y: C x_1 ... x_n), A -> B");
}
}