diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-05 22:00:31 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-05 22:29:01 -0800 |
commit | ca02aef2c98079c695fa616c75ab05a693c9d512 (patch) | |
tree | 40dfc254a5536c9049058cf25e317ea479c53ad5 /core/src/main/scala/forge/define/Applicative.scala | |
parent | 27b1a0b18dab64ef56202bda91f741586487edc3 (diff) | |
download | mill-ca02aef2c98079c695fa616c75ab05a693c9d512.tar.gz mill-ca02aef2c98079c695fa616c75ab05a693c9d512.tar.bz2 mill-ca02aef2c98079c695fa616c75ab05a693c9d512.zip |
Recursive main-method resolution now works, as part of the normal discovery recursion
```scala
@ import forge.util.JsonFormatters._
import forge.util.JsonFormatters._
@ forge.discover.Discovered[forge.scalaplugin.MetacircularTests.type]
@ forge.discover.Discovered[forge.scalaplugin.MetacircularTests.type].mains
res2: Seq[...] = List(
NestedEntry(List("ScalaPlugin"), ..., EntryPoint("run", ...)),
NestedEntry(List("Core"), ..., EntryPoint("run", ...)
)
@ forge.discover.Discovered[forge.scalaplugin.MetacircularTests.Core.type].mains
res3: Seq[...] = List(
NestedEntry(List(), ..., EntryPoint("run", ...))
)
```
Diffstat (limited to 'core/src/main/scala/forge/define/Applicative.scala')
0 files changed, 0 insertions, 0 deletions