March 22, 2009 [Issue 2754] New: The error message regarding implicit conversion to shared doesn't mention shared in the message. | ||||
---|---|---|---|---|
| ||||
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: bugzilla@digitalmars.com ReportedBy: sandford@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. -- |
April 01, 2009 [Issue 2754] The error message regarding implicit conversion to shared doesn't mention shared in the message. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2754 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2009-04-01 13:57 ------- Fixed DMD 2.027 -- |
Copyright © 1999-2021 by the D Language Foundation