Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3907

Show
Ignore:
Timestamp:
08/24/08 17:39:30 (3 months ago)
Author:
larsivi
Message:

Fix shadowed variable in unittest, thanks fawzi, closes #1267

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/core/Variant.d

    r3898 r3907  
    616616 
    617617            A a = new D; 
    618             Variant v = a; 
    619             B b = v.get!(B); 
    620             C c = v.get!(C); 
    621             D d = v.get!(D); 
     618            Variant v2 = a; 
     619            B b = v2.get!(B); 
     620            C c = v2.get!(C); 
     621            D d = v2.get!(D); 
    622622        } 
    623623