d2compiler: Fix sequence-timestamp test
This commit is contained in:
parent
389f4cb9d3
commit
f0eba7dda7
1 changed files with 1 additions and 1 deletions
|
|
@ -427,7 +427,7 @@ func (c *compiler) compileEdge(obj *d2graph.Object, e *d2ir.Edge) {
|
||||||
edge.Attributes.Label.MapKey = e.LastPrimaryKey()
|
edge.Attributes.Label.MapKey = e.LastPrimaryKey()
|
||||||
for _, er := range e.References {
|
for _, er := range e.References {
|
||||||
scopeObjIDA := d2ir.IDA(er.Context.ScopeMap)
|
scopeObjIDA := d2ir.IDA(er.Context.ScopeMap)
|
||||||
scopeObj, _ := edge.Src.Graph.Root.HasChildIDVal(d2graphIDA(scopeObjIDA))
|
scopeObj, _ := edge.Src.Graph.Root.HasChildIDVal(scopeObjIDA)
|
||||||
edge.References = append(edge.References, d2graph.EdgeReference{
|
edge.References = append(edge.References, d2graph.EdgeReference{
|
||||||
Edge: er.Context.Edge,
|
Edge: er.Context.Edge,
|
||||||
MapKey: er.Context.Key,
|
MapKey: er.Context.Key,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue