Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alixander committed Jun 6, 2024
1 parent 31f2ca6 commit 87d74fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 25 deletions.
1 change: 1 addition & 0 deletions d2ir/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ func (c *compiler) compileMap(dst *Map, ast, scopeAST *d2ast.Map) {
}

OverlayMap(dst, impn.Map())
c.updateLinks(dst)

if impnf, ok := impn.(*Field); ok {
if impnf.Primary_ != nil {
Expand Down
32 changes: 7 additions & 25 deletions testdata/d2compiler/TestCompile/spread-import-link.exp.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87d74fc

Please sign in to comment.