0.19.2
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") }