Summary: template forward reference regression
           Product: D
           Version: 2.032
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Koroskin Denis <> 2010-01-05 20:25:12 PST 
Test case:

module test;

public class Derived : public Base

class Template(T)

alias Template!(bool) TemplateAlias;

class Base
    TemplateAlias templateAlias;

# dmd test.d
test.d(13): Error: forward reference to 'Template!(bool)'
test.d(13): Error: TemplateAlias is used as a type
test.d(13): Error: variable test.Base.templateAlias voids have no value

Regression since DMD2.031, blocker for me to upgrate to a newer compiler

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to