bugDotGNU Portable.NET - Bugs: bug #11395, Nemerle ilasm roundtripping,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11395: Nemerle ilasm roundtripping, problems with ildasm

Submitter:  James Michael DuPont <mdupont>
Submitted:  Sat 25 Dec 2004 05:52:47 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Fri 19 Aug 2005 11:19:55 PM UTC, comment #3: 

Round tripping was never supported in ilasm/ildasm.

And original bug no longer exists.

Gopal.V <t3rmin4t0r>
Group administrator
Mon 27 Dec 2004 02:43:10 PM UTC, comment #2: 

This has been resolved by malekith
http://nemerle.org/~malekith/boot/


<CIA-6> malekith * r3645 /nemerle/trunk/ncc/generation/CompileTypedTree.n: Mangle closure names, so we do not put dots in type names.

thanks for the help
mike

James Michael DuPont <mdupont>
Mon 27 Dec 2004 01:55:35 PM UTC, comment #1: 

It turns out that this class structure is not correct.
'Nemerle.Compiler'.'LibraryReference'/'NetMethod'/'_N_cl_'.'ctor1280' is wrong
Nemerle.Compiler.LibraryReference/NetMethod/ctor1280 is right
so the '_N_cl_' is the problem
The solution does not execute either, but compiles...

James Michael DuPont <mdupont>
Sat 25 Dec 2004 05:52:47 PM UTC, original submission:  

Hi,

I have been tracking down this issue of roundtripping the ilasm.

Using the Nemerle.Compiler.dll from
http://nemerle.org/~nazgul/boot/Nemerle.Compiler.dll

The issue with pnet is the naming of classes,
I get this error :

Nemerle.Compiler.il:11076: referenced nested class `ctor1280' is not
defined

Now,
here is the problem :

Here is the class structure
.namespace 'Nemerle.Compiler'
{
  .class public auto ansi 'LibraryReference'
  {
    .class nested private auto ansi 'NetType'
    {
      .class nested private auto ansi 'FieldInfo'
      {
.class nested private auto ansi 'NetMethod'
{
  .class nested assembly auto specialname ansi 'ctor1280'
{
}
}
.class nested assembly auto specialname ansi '_N_lm_mkparm8520'
{
// .field private specialname class
'Nemerle.Compiler'.'LibraryReference'/'NetMethod'/'_N_cl_'.'ctor1280'
'.ctor1280'
.field private specialname class 'ctor1280' '.ctor1280a'
.field private specialname class
Nemerle.Compiler.LibraryReference/NetType/FieldInfo/NetMethod/ctor1280
'.ctor1280'

}
      }
    }
  }
}



This is what is genrated by pnet ildasm , and is wrong :
.field private specialname class
'Nemerle.Compiler'.'LibraryReference'/'NetMethod'/'_N_cl_'.'ctor1280'
'.ctor1280'

This works :
.field private specialname class 'ctor1280' '.ctor1280a'

This is fully qualified :
.field private specialname class
Nemerle.Compiler.LibraryReference/NetType/FieldInfo/NetMethod/ctor1280
'.ctor1280'



James Michael DuPont <mdupont>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-08-19 t3rmin4t0r StatusNone Wont Fix
    Open/ClosedOpen Closed
2004-12-27 mdupont Carbon-CopyRemoved bugs --AT-- nemerle --DOT-- org -
2004-12-25 mdupont Carbon-Copy- Added bugs --AT-- nemerle --DOT-- org

Back to the top

Powered by Savane 3.15-94dd.
Corresponding source code