Skip to content

0.19.2

Compare
Choose a tag to compare
@nalgeon nalgeon released this 17 Apr 07:05
· 24 commits to main since this release

Fixed depends-on ordering for non-linear dependencies like this:

<pre><code>package main</code></pre>
<codapi-snippet id="package" editor="basic">
</codapi-snippet>

<pre><code>import "fmt"</code></pre>
<codapi-snippet id="import" editor="basic">
</codapi-snippet>

<pre><code>func main() { fmt.Println("hello") }</code></pre>
<codapi-snippet sandbox="go" editor="basic" depends-on="package import">
</codapi-snippet>

Code after resolving dependencies:

package main
import "fmt"
func main() { fmt.Println("hello") }