[nem-bug] [Nemerle 0000736]: ObsoleteAttribute support

feedback at nemerle.org feedback at nemerle.org
Thu Aug 17 04:04:03 CEST 2006


The following issue has been REOPENED.
======================================================================
<http://nemerle.org/bugs/view.php?id=736> 
======================================================================
Reported By:                IT
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   736
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             08-13-2006 01:16 CEST
Last Modified:              08-17-2006 04:04 CEST
======================================================================
Summary:                    ObsoleteAttribute support
Description: 
using System;

public module Program
{
    [Obsolete]
    Foo() : void
    {
    }

    Main() : void
    {
        Foo();
    }
}

This code should cause a message that the Foo method is obsolete.
======================================================================

----------------------------------------------------------------------
 nazgul - 08-14-06 22:20 
----------------------------------------------------------------------
Fixed on trunk (r6521).

----------------------------------------------------------------------
 IT - 08-17-06 04:04 
----------------------------------------------------------------------
using System;

public module Program
{
    [Obsolete]
    public Foo1() : void
    {
    }

    [Obsolete]
    public Foo2() : void
    {          
      Foo1()
    }

    Main() : void
    {
        //Foo1()
    }
}

This code should not cause any messages :)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
08-13-06 01:16 IT             New Issue                                    
08-14-06 22:20 nazgul         Status                   new => resolved     
08-14-06 22:20 nazgul         Resolution               open => fixed       
08-14-06 22:20 nazgul         Assigned To               => nazgul          
08-14-06 22:20 nazgul         Note Added: 0001422                          
08-14-06 22:20 nazgul         Description Updated                          
08-17-06 04:04 IT             Status                   resolved => feedback
08-17-06 04:04 IT             Resolution               fixed => reopened   
08-17-06 04:04 IT             Note Added: 0001425                          
======================================================================




More information about the bugs mailing list