From d5a7881381080fa4953b24c069675ca435598b95 Mon Sep 17 00:00:00 2001 From: akuznetsov Date: Tue, 26 Sep 2023 15:57:53 +0400 Subject: add line numbers and test --- src/main/javassist/compiler/ast/Pair.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/javassist/compiler/ast/Pair.java') diff --git a/src/main/javassist/compiler/ast/Pair.java b/src/main/javassist/compiler/ast/Pair.java index 949028a4..44411b8d 100644 --- a/src/main/javassist/compiler/ast/Pair.java +++ b/src/main/javassist/compiler/ast/Pair.java @@ -28,6 +28,7 @@ public class Pair extends ASTree { protected ASTree left, right; public Pair(ASTree _left, ASTree _right) { + super(_left.getLineNumber()); left = _left; right = _right; } -- cgit v1.2.3