http://d.puremagic.com/issues/show_bug.cgi?id=2848





------- Comment #2 from llu...@gmail.com  2009-04-17 12:30 -------
It seems to happen for array, int and float aliasee, but not for Object or
struct types...

This workaround works:

alias char[] String;
static if (!is(no_type)) {
         alias String no_type;
         no_type y;
}
no_type x;

It seems not to fail when aliassed to user-defined types (classes, structs,
enums, aliases, typedefs), but for primitive types and arrays it fails.

typedef have the same problem.


-- 

Reply via email to