www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Interesting Bug in D

Hi Kenji,

My name is Adam Wilson. I am working on the Aurora Project for D and I was  
wondering if I could interest you in a bug that is giving me quite a lot  
of trouble. The problem is around how static if is parsed. Specifically,  
if you have two static if blocks that both evaluate to true, and you try  
to use a symbol from the second block in the first block you get an  
Undefined Identifier error. The second block can either be in another  
module, or later in the same file, either will induce the error.

Bug Report: https://issues.dlang.org/show_bug.cgi?id=3743

Daniel Murphy (yebblies) thought you might enjoy this issue due to the  
complexity of fixing it, so I thought I would pass it on to you to see if  
your were interested in working on it.


Adam Wilson
GitHub/IRC: LightBender
Aurora Project Coordinator
May 23 2014