Skip to content

Commit 93b7e8c

Browse files
Fabio AndereggJordanL8
authored andcommitted
always ignore move assignment if there is both copy and move
1 parent c0f7552 commit 93b7e8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generator/Passes/CheckAmbiguousFunctions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ private bool CheckDefaultParametersForAmbiguity(Function function, Function over
9090

9191
functionPointee.TryGetClass(out Class @functionPointeeClass);
9292
overloadPointee.TryGetClass(out Class @overloadPointeeClass);
93+
9394
if (functionPointeeClass == function.Namespace && @overloadPointeeClass == overload.Namespace)
9495
{
9596
if (functionParamPointerType.Modifier == PointerType.TypeModifier.RVReference &&

0 commit comments

Comments
 (0)