digitalmars.D.bugs - DMD segfault
- Nick <Nick_member pathlink.com> Aug 06 2004
The following makes dmd segfault:
# template A(alias T)
# {
# typeof(T) foo = 3*T;
# }
#
# void main()
# {
# mixin A!(int) a;
# a.foo;
# }
Yes, the code is wrong, there should be a variable parameter, not an int.
Nick
Aug 06 2004








Nick <Nick_member pathlink.com>