This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exceptions during macro-expansion


On 01/03/2018 03:25 PM, Duncan Mak wrote:
Hello,

I'm trying to come up with a smaller test case, but in my code that
does a bit of macros, I'm hitting these exceptions when running in
Kawa 3.0:

Does this look like it's a known bug?

It's not a known bug, but I'm betting this might help:

diff --git a/gnu/expr/VarValueTracker.java b/gnu/expr/VarValueTracker.java
index e9db3eaf8..8b1522c07 100644
--- a/gnu/expr/VarValueTracker.java
+++ b/gnu/expr/VarValueTracker.java
@@ -23,6 +23,7 @@ public class VarValueTracker
   public VarValueTracker (VarValueTracker outer)
   {
     this.outer = outer;
+    this.visitor = outer.visitor;
     this.declValueUsage = outer.declValueUsage;
   }
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]