зеркало из https://github.com/mono/mail-archives.git
95 строки
3.5 KiB
HTML
95 строки
3.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 59781][Maj] New - Console.WriteLine and ulong type error
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="017005.html">
|
|
<LINK REL="Next" HREF="017007.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 59781][Maj] New - Console.WriteLine and ulong type error
|
|
</H1>
|
|
<B>bugzilla-daemon@bugzilla.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 59781][Maj] New - Console.WriteLine and ulong type error">bugzilla-daemon@bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Tue, 8 Jun 2004 05:58:07 -0400 (EDT)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="017005.html">[Mono-bugs] [Bug 59629][Nor] Changed - NullReferenceException when getting event of emitted type
|
|
</A></li>
|
|
<LI> Next message: <A HREF="017007.html">[Mono-bugs] [Bug 59792][Nor] New - missing synchronization for add/remove accessors
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#17006">[ date ]</a>
|
|
<a href="thread.html#17006">[ thread ]</a>
|
|
<a href="subject.html#17006">[ subject ]</a>
|
|
<a href="author.html#17006">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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 <A HREF="mailto:pascalfresnay@free.fr.">pascalfresnay@free.fr.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=59781">http://bugzilla.ximian.com/show_bug.cgi?id=59781</A>
|
|
|
|
--- shadow/59781 2004-06-08 05:58:07.000000000 -0400
|
|
+++ shadow/59781.tmp.3400 2004-06-08 05:58:07.000000000 -0400
|
|
@@ -0,0 +1,31 @@
|
|
+Bug#: 59781
|
|
+Product: Mono: Compilers
|
|
+Version: unspecified
|
|
+OS:
|
|
+OS Details:
|
|
+Status: NEW
|
|
+Resolution:
|
|
+Severity:
|
|
+Priority: Major
|
|
+Component: C#
|
|
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+ReportedBy: <A HREF="mailto:PascalFresnay@free.fr">PascalFresnay@free.fr</A>
|
|
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
+TargetMilestone: ---
|
|
+URL:
|
|
+Summary: Console.WriteLine and ulong type error
|
|
+
|
|
+ulong a = 10;
|
|
+ulong b = 3;
|
|
+Console.WriteLine("bug here --> "+a-b);
|
|
+
|
|
+This code should not compile
|
|
+(bug appears only with ulong type, mcs correctly reports an error with
|
|
+other types like uint, long, etc.)
|
|
+
|
|
+error expected :
|
|
+(CS0019) Operator - cannot be applied to operands of type `ulong' and `string'
|
|
+
|
|
+Runtime error :
|
|
+** ERROR **: Invalid IL code at IL0018 in MainClass:Main (string[]):
|
|
+IL_0018: sub
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="017005.html">[Mono-bugs] [Bug 59629][Nor] Changed - NullReferenceException when getting event of emitted type
|
|
</A></li>
|
|
<LI> Next message: <A HREF="017007.html">[Mono-bugs] [Bug 59792][Nor] New - missing synchronization for add/remove accessors
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#17006">[ date ]</a>
|
|
<a href="thread.html#17006">[ thread ]</a>
|
|
<a href="subject.html#17006">[ subject ]</a>
|
|
<a href="author.html#17006">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|