Re: Errors in pairs

2018-03-26 Thread Nathan Sidwell
On 03/24/2018 04:06 PM, Volker Reichelt wrote: Hi everybody, while bug-hunting I noticed that we emit lots of erros in pairs in check_final_overrider (cp/search.c), e.g.:   error ("invalid covariant return type for %q+#D", overrider);   error ("  overriding %q+#D", basefn); I would expect th

Re: Errors in pairs

2018-03-25 Thread Volker Reichelt
On 03/24/2018 10:35 PM, Paolo Carlini wrote: Hi, On 24/03/2018 21:06, Volker Reichelt wrote: Hi everybody, while bug-hunting I noticed that we emit lots of erros in pairs in check_final_overrider (cp/search.c), e.g.:   error ("invalid covariant return type for %q+#D", overrider);   error (" 

Re: Errors in pairs

2018-03-24 Thread Paolo Carlini
Hi, On 24/03/2018 21:06, Volker Reichelt wrote: Hi everybody, while bug-hunting I noticed that we emit lots of erros in pairs in check_final_overrider (cp/search.c), e.g.:   error ("invalid covariant return type for %q+#D", overrider);   error ("  overriding %q+#D", basefn); I would expect th