Lower redefined_proc to Hint by default due to its prevalence

This commit is contained in:
Tad Hardesty 2020-05-09 11:35:52 -07:00
parent 7f8dff13e4
commit 4f6c847d9e

View file

@ -1145,6 +1145,7 @@ impl<'o, 's> AnalyzeProc<'o, 's> {
error(self.proc_ref.location, format!("redefining proc {}/{}", self.ty, self.proc_ref.name()))
.with_errortype("redefined_proc")
.with_note(parent.location, "previous definition is here")
.set_severity(Severity::Hint)
.register(self.context);
}
}