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.
2 parents 230ad69 + bf31b9c commit 340b9abCopy full SHA for 340b9ab
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