Fix incorrect Id assignment in Variable constructor (#6514)
This commit is contained in:
parent
b543366a4b
commit
55a9c752eb
|
|
@ -30,7 +30,10 @@ public class Variable : MemoryBlockReference
|
|||
|
||||
public Variable(string name, object? value = null, string? id = null) : this(name, value)
|
||||
{
|
||||
Value = value;
|
||||
if (id != null)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue