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:
Anton Bannykh
2017-02-17 16:07:14 +03:00
parent 2d9392aad4
commit 6608e97d35
35 changed files with 235 additions and 17 deletions
@@ -1,3 +1,7 @@
import src.*
import test.*
fun main() {
srcAndTests()
ambiguous()
}
@@ -1 +1,5 @@
package src
fun srcAndTests() {}
fun ambiguous() {}
@@ -0,0 +1,3 @@
package test
private fun dummy() {}
@@ -1,3 +1,9 @@
package test
import src.srcAndTests
fun testSrcAndTests() {
srcAndTests()
}
fun ambiguous() {}
@@ -1,3 +1,6 @@
import src.*
import test.*
fun testMain() {
main()
srcAndTests()