Only use script parameters from definition
Passing parameters of a _single_ script into TopDownAnalyser makes no sense
This commit is contained in:
@@ -56,13 +56,6 @@ public class ScriptTest {
|
||||
aClass.getConstructor(int.class).newInstance(4);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testScriptStandardExt() throws Exception {
|
||||
Class<?> aClass = compileScript("fib.kt", numIntParam(), Collections.<JetScriptDefinition>emptyList());
|
||||
Assert.assertNotNull(aClass);
|
||||
aClass.getConstructor(int.class).newInstance(4);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testScriptWithScriptDefinition() throws Exception {
|
||||
Class<?> aClass = compileScript("fib.fib.kt", null,
|
||||
|
||||
Reference in New Issue
Block a user