[Mono-bugs] [Bug 52831][Wis] Changed - failed to assemble IL code from "Inside Microsoft .net Assembler " book

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 29 Jun 2004 11:37:21 -0400 (EDT)


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 kjambunathan@novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=52831

--- shadow/52831	2004-01-13 18:50:31.000000000 -0500
+++ shadow/52831.tmp.2483	2004-06-29 11:37:21.000000000 -0400
@@ -0,0 +1,138 @@
+Bug#: 52831
+Product: Mono: Compilers
+Version: unspecified
+OS: unknown
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Wishlist
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: liyul@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: failed to assemble IL code from "Inside Microsoft .net Assembler " book
+
+I am not sure whether I can supply the code, but 6 among the 10 sample
+files failed to compile.
+
+callback.il (fail)
+Gcctor.il
+MyEnums.il
+Override.il
+simple.il (fail)
+simple1.il (fail)
+simple2.il (fail)
+Vararg.il (fail)
+Virt_not.il
+YDD.il (fail)
+
+------- Additional Comments From liyul@hotmail.com  2004-01-13 18:50 -------
+E:\study\dotnet\il\Code>ilasm callback.il
+Assembling 'callback.il' , no listing file, to exe --> 'callback.exe'
+Error at: line (15) column (61)
+System.InvalidCastException: Cannot cast from source type to
+destination type
+in <0x04a4c> Mono.ILASM.ILParser:yyparse (Mono.ILASM.yyParser.yyInput)
+in <0x0004d> Mono.ILASM.ILParser:yyparse
+(Mono.ILASM.yyParser.yyInput,object)
+in <0x0025e> .DriverMain:ProcessFile (string)
+in <0x002ae> .DriverMain:ProcessFile (string)
+in <0x00135> .DriverMain:Run ()
+in <0x001ee> .DriverMain:Run ()
+in <0x0004e> Mono.ILASM.Driver:Main (string[])
+
+Error while compiling.
+
+E:\study\dotnet\il\Code>ilasm Simple.il
+Assembling 'Simple.il' , no listing file, to exe --> 'Simple.exe'
+syntax error, expecting ID SQSTRING
+Error at: line (6) column (18)
+Mono.ILASM.yyParser.yyException: irrecoverable syntax error
+in <0x00cdb> Mono.ILASM.ILParser:yyparse (Mono.ILASM.yyParser.yyInput)
+in <0x0004d> Mono.ILASM.ILParser:yyparse
+(Mono.ILASM.yyParser.yyInput,object)
+in <0x0025e> .DriverMain:ProcessFile (string)
+in <0x002ae> .DriverMain:ProcessFile (string)
+in <0x00135> .DriverMain:Run ()
+in <0x001ee> .DriverMain:Run ()
+in <0x0004e> Mono.ILASM.Driver:Main (string[])
+
+Error while compiling.
+
+E:\study\dotnet\il\Code>ilasm Simple1.il
+Assembling 'Simple1.il' , no listing file, to exe --> 'Simple1.exe'
+syntax error, expecting ID SQSTRING
+Error at: line (5) column (18)
+Mono.ILASM.yyParser.yyException: irrecoverable syntax error
+in <0x00cdb> Mono.ILASM.ILParser:yyparse (Mono.ILASM.yyParser.yyInput)
+in <0x0004d> Mono.ILASM.ILParser:yyparse
+(Mono.ILASM.yyParser.yyInput,object)
+in <0x0025e> .DriverMain:ProcessFile (string)
+in <0x002ae> .DriverMain:ProcessFile (string)
+in <0x00135> .DriverMain:Run ()
+in <0x001ee> .DriverMain:Run ()
+in <0x0004e> Mono.ILASM.Driver:Main (string[])
+
+Error while compiling.
+
+E:\study\dotnet\il\Code>ilasm Simple2.il
+Assembling 'Simple2.il' , no listing file, to exe --> 'Simple2.exe'
+syntax error, expecting ID SQSTRING
+Error at: line (5) column (18)
+Mono.ILASM.yyParser.yyException: irrecoverable syntax error
+in <0x00cdb> Mono.ILASM.ILParser:yyparse (Mono.ILASM.yyParser.yyInput)
+in <0x0004d> Mono.ILASM.ILParser:yyparse
+(Mono.ILASM.yyParser.yyInput,object)
+in <0x0025e> .DriverMain:ProcessFile (string)
+in <0x002ae> .DriverMain:ProcessFile (string)
+in <0x00135> .DriverMain:Run ()
+in <0x001ee> .DriverMain:Run ()
+in <0x0004e> Mono.ILASM.Driver:Main (string[])
+
+Error while compiling.
+
+E:\study\dotnet\il\Code>ilasm vararg.il
+Assembling 'vararg.il' , no listing file, to exe --> 'vararg.exe'
+syntax error, expecting OPEN_BRACKET CLOSE_PARENS BANG ELLIPSIS
+K_VALUE K_NATIV
+ K_VOID K_BOOL K_INT8 K_INT16 K_INT32 K_INT64 K_FLOAT32 K_FLOAT64
+K_UNSIGNED K_
+ETHOD K_CLASS K_TYPEDREF K_CHAR K_VALUETYPE K_OBJECT K_STRING
+Error at: line (6) column (55)
+Mono.ILASM.yyParser.yyException: irrecoverable syntax error
+in <0x00cdb> Mono.ILASM.ILParser:yyparse (Mono.ILASM.yyParser.yyInput)
+in <0x0004d> Mono.ILASM.ILParser:yyparse
+(Mono.ILASM.yyParser.yyInput,object)
+in <0x0025e> .DriverMain:ProcessFile (string)
+in <0x002ae> .DriverMain:ProcessFile (string)
+in <0x00135> .DriverMain:Run ()
+in <0x001ee> .DriverMain:Run ()
+in <0x0004e> Mono.ILASM.Driver:Main (string[])
+
+Error while compiling.
+
+E:\study\dotnet\il\Code>ilasm ydd.il
+Assembling 'ydd.il' , no listing file, to exe --> 'ydd.exe'
+syntax error, expecting INT64 K_AT K_FROMUNMANAGED K_CALLMOSTDERIVED
+Error at: line (5) column (19)
+Mono.ILASM.yyParser.yyException: irrecoverable syntax error
+in <0x00cdb> Mono.ILASM.ILParser:yyparse (Mono.ILASM.yyParser.yyInput)
+in <0x0004d> Mono.ILASM.ILParser:yyparse
+(Mono.ILASM.yyParser.yyInput,object)
+in <0x0025e> .DriverMain:ProcessFile (string)
+in <0x002ae> .DriverMain:ProcessFile (string)
+in <0x00135> .DriverMain:Run ()
+in <0x001ee> .DriverMain:Run ()
+in <0x0004e> Mono.ILASM.Driver:Main (string[])
+
+Error while compiling.
+
+
+
+------- Additional Comments From kjambunathan@novell.com  2004-06-29 11:37 -------
+It doesn't help if code/sample is not provided. Is it still broken 
+with latest CVS ?