Community
Participate
Working Groups
After applying changes for bug 399565 I noticed the following error when trying to use the "Add Only Clause to Use Statement" refactoring when a conflict error should be shown in the Preview window: Root exception: java.lang.NoSuchFieldError: vpg at org.eclipse.photran.internal.core.refactoring.AddOnlyToUseStmtRefactoring.access$4(AddOnlyToUseStmtRefactoring.java:52) at org.eclipse.photran.internal.core.refactoring.AddOnlyToUseStmtRefactoring$ConflictingBindingErrorHandler.addConflictError(AddOnlyToUseStmtRefactoring.java:446) at org.eclipse.photran.internal.core.refactoring.infrastructure.FortranResourceRefactoring$CheckForConflictBindings.checkForConflictingDefinitionOrShadowing(FortranResourceRefactoring.java:913) at org.eclipse.photran.internal.core.refactoring.infrastructure.FortranResourceRefactoring$CheckForConflictBindings.check(FortranResourceRefactoring.java:899) at org.eclipse.photran.internal.core.refactoring.infrastructure.FortranResourceRefactoring.checkForConflictingBindings(FortranResourceRefactoring.java:808) at org.eclipse.photran.internal.core.refactoring.AddOnlyToUseStmtRefactoring.checkConflictingBindings(AddOnlyToUseStmtRefactoring.java:313) at org.eclipse.photran.internal.core.refactoring.AddOnlyToUseStmtRefactoring.doCheckFinalConditions(AddOnlyToUseStmtRefactoring.java:287) at org.eclipse.rephraserengine.core.vpg.refactoring.VPGRefactoring.checkFinalConditions(VPGRefactoring.java:154)
Created attachment 228930 [details] proposed patch I confirm that: (a) I wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others (b) I have the right to contribute the code to Eclipse (c) I have included the EPL license header in all source files.
Committed to master for Photran 8.1/Kepler. Thanks, Louis!