http://d.puremagic.com/issues/show_bug.cgi?id=2754
Summary: The error message regarding implicit conversion to shared doesn't mention shared in the message. Product: D Version: 2.022 Platform: PC OS/Version: Windows Status: NEW Keywords: diagnostic Severity: trivial Priority: P3 Component: DMD AssignedTo: bugzi...@digitalmars.com ReportedBy: sandf...@jhu.edu Error: cannot implicitly convert expression (new A) of type hello.A to A v.s. the corresponding immutable error: Error: cannot implicitly convert expression (new A) of type hello.A to immutable(A) Test case: class A {} void foo( shared A y ) {} void main() { foo(new A()); } P.S. D 2.026 isn't available yet as an option in bugzilla. --