[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #40729] NPE in inline-compiler for AppendValues
From: |
Per Bothner |
Subject: |
[Bug-kawa] [bug #40729] NPE in inline-compiler for AppendValues |
Date: |
Sun, 01 Dec 2013 01:27:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36 |
Update of bug #40729 (project kawa):
Status: None => Fixed
Assigned to: None => bothner
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
This one was pretty obscure and hard to track down. It turned out to be an
issue in variable renaming (aliasing) when expanding a macro template.
Specifically, when nested definitions with the same name (f1) where f1 is a
macro parameter. The reference to f1
in the body of f3 got resolved to the wrong definition. (Of course nested
definitions with the same name is pretty questionable in human-written code,
though I guess it could be reasonable in macro-generated code.)
Thanks for the test-case - It checked it in along with the fix,
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40729>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/