Kenji Hara <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Kenji Hara <> 2012-01-02 00:50:51 PST ---
In 2.057 and later, following errors are raised:

test.d(17): Error: incompatible types for ((p) - (p)): 'const(Pa!(double))' and
test.d(22): Error: template instance!(Pa,double) error instantiating

Because, in Ma!T.opBinary(),

  return Ma(m);

is not valid expression (it does not ignite copy construction).
After fixing it to

  return Ma();

, the sample code compiles fine.

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

Reply via email to