[Mono-bugs] [Bug 81938][Nor] New - Implicit cast from char to double crashes compiler

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jun 23 04:54:58 EDT 2007

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 marek.sieradzki at gmail.com.


--- shadow/81938	2007-06-23 04:54:58.000000000 -0400
+++ shadow/81938.tmp.21693	2007-06-23 04:54:58.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 81938
+Product: Mono: Compilers
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: marek.sieradzki at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Implicit cast from char to double crashes compiler
+Description of Problem:
+Compiler crashes after trying to do a weird implicit cast (from char to double)
+Steps to reproduce the problem:
+1. 'make' in olive/class/Microsoft.JScript.Compiler
+Actual Results:
+Compiler crash
+Expected Results:
+No errors
+How often does this happen? 
+Additional Information:
+Conversion error happened in line
+Unhandled Exception: System.Exception: LookupConstantValue: This should
+never be reached System.Char System.Double
+  at Mono.CSharp.Constant.ConvertImplicitly (System.Type type) [0x00057] in
+  at Mono.CSharp.Convert.ImplicitConversionStandard
+(Mono.CSharp.EmitContext ec, Mono.CSharp.Expression expr, System.Type
+target_type, Location loc) [0x0011d] in

More information about the mono-bugs mailing list