Summary: Can't add constraints to templated class that uses
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from David Simcha <> 2010-08-20 17:48:36 PDT ---
import std.range;

class Foo {}
class Bar(T) : Foo if(isInputRange!T) {}

test9.d(4): members expected
test9.d(4): { } expected following aggregate declaration
test9.d(4): Declaration expected, not 'if'

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

Reply via email to