dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #11395] Nemerle ilasm roundtripping, problems wi


From: James Michael DuPont
Subject: [Pnet-developers] [bugs #11395] Nemerle ilasm roundtripping, problems with ildasm
Date: Mon, 27 Dec 2004 14:43:26 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2)

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #11395] Latest Modifications:

Changes by: 
                James Michael DuPont <address@hidden>
'Date: 
                Mon 12/27/2004 at 14:43 (Europe/Berlin)

------------------ Additional Follow-up Comments ----------------------------
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






/**************************************************************************/
[bugs #11395] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11395>
Project: DotGNU Portable.NET
Submitted by: James Michael DuPont
On: Sat 12/25/2004 at 17:52

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  Nemerle ilasm roundtripping, problems with ildasm 

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'




Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 12/27/2004 at 14:43       By: James Michael DuPont <mdupont>
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

-------------------------------------------------------
Date: Mon 12/27/2004 at 13:55       By: James Michael DuPont <mdupont>
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...












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11395>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]