Skip to content

Commit

Permalink
Small merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushdesai committed Dec 4, 2024
1 parent 924eced commit 60d3fb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1622,7 +1622,7 @@ private void WriteClone(CompilationContext context, StringWriter output, IExprTe
}

var varName = GetGlobalAndLocalVariableName(context, variableRef.Variable);
context.Write(output, $"(({GetCSharpType(variableRef.Type)})((IPrtValue){varName})?.Clone())");
context.Write(output, $"(({GetCSharpType(variableRef.Type)})((IPValue){varName})?.Clone())");
}

private string GetCSharpType(PLanguageType type, bool isVar = false)
Expand Down

0 comments on commit 60d3fb4

Please sign in to comment.