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

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Sat 25 Dec 2004 05:52:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 19 Aug 2005 11:19:55 PM UTCt3rmin4t0rStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed
Mon 27 Dec 2004 02:12:52 PM UTCmdupontCarbon-CopyRemoved bugs --AT-- nemerle --DOT-- org=>-
Sat 25 Dec 2004 05:52:47 PM UTCmdupontCarbon-Copy-=>Added bugs --AT-- nemerle --DOT-- org

Back to the top


Powered by Savane 3.1-cleanup1