We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be9ea0b commit bf31b9cCopy full SHA for bf31b9c
src/fsharp/PatternMatchCompilation.fs
@@ -920,7 +920,7 @@ let CompilePatternBasic
920
921
if nonNil topgtvs then error(InternalError("Unexpected generalized type variables when compiling an active pattern",m));
922
let rty = apinfo.ResultType g m resTys
923
- let v,vexp = mkCompGenLocal m "activePatternResult" rty
+ let v,vexp = mkCompGenLocal m ("activePatternResult"^string (newUnique())) rty
924
if topv.IsMemberOrModuleBinding then
925
AdjustValToTopVal v topv.ActualParent ValReprInfo.emptyValData;
926
let argexp = GetSubExprOfInput subexpr
0 commit comments