Only use script parameters from definition
Passing parameters of a _single_ script into TopDownAnalyser makes no sense
This commit is contained in:
@@ -52,7 +52,6 @@ public class CodegenTestUtil {
|
||||
AnalyzeExhaust analyzeExhaust = AnalyzerFacadeForJVM.analyzeFilesWithJavaIntegrationAndCheckForErrors(
|
||||
environment.getProject(),
|
||||
files.getPsiFiles(),
|
||||
files.getScriptParameterTypes(),
|
||||
Predicates.<PsiFile>alwaysTrue());
|
||||
analyzeExhaust.throwIfError();
|
||||
AnalyzingUtils.throwExceptionOnErrors(analyzeExhaust.getBindingContext());
|
||||
|
||||
Reference in New Issue
Block a user