------- Comment #5 from  2009-04-23 04:15 -------
(In reply to comment #4)
> Example and DStress test cases compile in D1.041. The DStress test cases fail
> in D2, because the template parameter is declared as a char[] rather than a
> string.
> C:\> dmd template_class_20_A.d
> template_class_20_A.d(17): template instance Foo!("abc") does not match
> template declaration Foo(char[] bar)
> template_class_20_A.d(17): Error: Foo!("abc") is used as a type
> template_class_20_A.d(17): class base
> type must be class or interface, not void
> The following code compiles, should this bug be marked as a DStress issue?

No. DStress was only developed for D1. It's never been ported to D2.
You can safely close this bug.


Reply via email to