Do not store external dependencies in ScriptModuleInfo

There is a cache from ScriptModuleInfo to ScriptDependenciesInfo.
In case when only script dependencies are changed we won't recreate the facade for them and will obtain external dependencies for ScriptModuleInfo stored in ScriptDependenciesInfo. So we cannot store external dependencies inside ScriptModuleInfo. The same problem is with relatedModuleSourceInfo.
This commit is contained in:
Natalia Selezneva
2018-05-23 09:14:30 +03:00
parent ab743ef759
commit 2b322ecf9c
10 changed files with 175 additions and 93 deletions
@@ -0,0 +1,7 @@
/*
TestDependenciesResolver returns empty dependencies on first request,
so ComparasionFailure should fail because 'test' is unresolved
Than TestDependenciesResolver returns classpath with classes from 'lib' folder
so no errors expected
*/
test.KObject.foo()