Fixed Generation

This commit is contained in:
Maximilian Stahl 2024-07-05 13:46:18 +02:00
parent e0286e0840
commit 3114064038
2 changed files with 0 additions and 9 deletions

View File

@ -723,10 +723,6 @@ public class MethodCodeGen implements bytecode.visitor.MethodVisitor {
@Override
public void visit(MethodCallNode methodCallNode) {
List<ParameterNode> parameterNodes = new ArrayList<>();
for (IExpressionNode expressionNode : methodCallNode.parameters) {
expressionNode.accept(this);
parameterNodes.add(new ParameterNode(expressionNode.getType(), ""));
}
int localVarIndex = -1;
if (methodCallNode.target.memberAccess.identifiers.size() > 1) {
localVarIndex = localVariables.indexOf(methodCallNode.target.memberAccess.identifiers.get(1));

View File

@ -105,11 +105,6 @@ public class E2EReflectionsTest {
runTest("MultipleClasses");
}
@Test
public void SelfReferenceTest() {
runTest("SelfReference");
}
@Test
public void ThisDotTest() {
runTest("ThisDot");