JPS JS: simplified the code and added tests for the missing meta.js case (e.g. empty sourceroot; fixed by yole in 00ed0248d9a23701dbef52da02259d174a9999e7)
This commit is contained in:
+4
@@ -1,3 +1,7 @@
|
||||
import src.*
|
||||
import test.*
|
||||
|
||||
fun main() {
|
||||
srcAndTests()
|
||||
ambiguous()
|
||||
}
|
||||
|
||||
+4
@@ -1 +1,5 @@
|
||||
package src
|
||||
|
||||
fun srcAndTests() {}
|
||||
|
||||
fun ambiguous() {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
private fun dummy() {}
|
||||
+6
@@ -1,3 +1,9 @@
|
||||
package test
|
||||
|
||||
import src.srcAndTests
|
||||
|
||||
fun testSrcAndTests() {
|
||||
srcAndTests()
|
||||
}
|
||||
|
||||
fun ambiguous() {}
|
||||
+3
@@ -1,3 +1,6 @@
|
||||
import src.*
|
||||
import test.*
|
||||
|
||||
fun testMain() {
|
||||
main()
|
||||
srcAndTests()
|
||||
|
||||
Reference in New Issue
Block a user