From 1b87dfb78e65ddfe568cd95e84cced5998a45c06 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 28 Jun 2024 22:05:26 +0200 Subject: [PATCH] make NewClass Test comply with our definition of fieldVarAccess --- src/test/testFiles/e2e/NewClass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/testFiles/e2e/NewClass.java b/src/test/testFiles/e2e/NewClass.java index e0949da..f329120 100644 --- a/src/test/testFiles/e2e/NewClass.java +++ b/src/test/testFiles/e2e/NewClass.java @@ -2,11 +2,11 @@ public class NewClass { public int x; public NewClass() { - x = 6; + this.x = 6; } public int simple() { - x = 4; + int x = 4; NewClass y = new NewClass(); return x + y.x; }