Summary: DMD Segmentation faults!
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-12-14 01:25:54 PST ---
struct Ma(T){

  pure T alpha() const{ return 1.1; }
  Ma opBinary(string op)(in Ma m) const if(op == "-"){ return Ma(m); }

struct Pa(T){

  Ma!T _m;
  alias _m this;

pure T foo(alias P, T)(in P!T p){ return (p - p).alpha(); }

void main(){

  Pa!double p1;

This is as far as I could narrow it down.  Something starts to go wrong when
'opBinary' is called.  Also, removing pure from 'foo' doesn't cause the seg

DMD 2.56, Linux-64bit

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

Reply via email to