Skip to content

Commit 5a1db52

Browse files
committed
Silence verbose duplicate constructor and operator warnings.
1 parent d5e6e11 commit 5a1db52

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Generator/Passes/CheckDuplicatedNamesPass.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,10 @@ private bool UpdateName(Function function)
7171
{
7272
// TODO: turn into a method; append the original type (say, "signed long")
7373
// of the last parameter to the type so that the user knows which overload is called
74-
Diagnostics.Warning("Duplicate operator {0} ignored", function.Name);
7574
function.ExplicitlyIgnore();
7675
}
7776
else if (method != null && method.IsConstructor)
7877
{
79-
Diagnostics.Warning("Duplicate constructor {0} ignored", function.Name);
8078
function.ExplicitlyIgnore();
8179
}
8280
else

0 commit comments

Comments
 (0)