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 d2ec7cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 25 deletions.
1 change: 1 addition & 0 deletions ci/release/changelogs/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
- Using `shape: circle` for arrowheads no longer removes all arrowheads along path in sketch mode [#1942](https://github.com/terrastruct/d2/pull/1942)
- Globs to null connections work [#1965](https://github.com/terrastruct/d2/pull/1965)
- Edge globs setting styles inherit correctly in child boards [#1967](https://github.com/terrastruct/d2/pull/1967)
- Board links imported with spread imports work [#1972](https://github.com/terrastruct/d2/pull/1972)
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 d2ec7cd

Please sign in to comment.