[Mono-bugs] [Bug 78000][Nor] Changed - Change in C# invalid conversion.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jun 22 06:22:37 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by martin at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78000
--- shadow/78000 2006-04-03 15:01:52.000000000 -0400
+++ shadow/78000.tmp.1683 2006-06-22 06:22:37.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 78000
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: miguel at ximian.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -41,6 +41,15 @@
Under .NET the last line (converting from B to I) does _not_ compile.
Under Mono it does.
In .NET 1.1 it _did_ compile but after I queried it with Peter Hallam he
confirmed it was a bug.
As far as I can tell the spec needs tightening to cover this case.
+
+------- Additional Comments From martin at ximian.com 2006-06-22 06:22 -------
+Could we please get some precise information on when to allow/disallow
+these conversions ?
+
+As I understand this, we shouldn't allow any user-defined implicit
+conversions when converting from something to an interface type ?
+
+See also the annotation in the Annotated C#'s clause 17.9.3.
More information about the mono-bugs
mailing list