[nem-bug] [Nemerle 0000850]: Allow to omit anonymous method signature (as in C#)

feedback at nemerle.org feedback at nemerle.org
Sun Feb 4 11:42:19 CET 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=850> 
======================================================================
Reported By:                nikov
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   850
Category:                   Language Feature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             01-28-2007 18:09 CET
Last Modified:              02-04-2007 11:42 CET
======================================================================
Summary:                    Allow to omit anonymous method signature (as in C#)
Description: 
Allow to omit anonymous method signature if there are no ref/out
parameters, and no parameter is used in method body (as in C#).

Foo += fun { Console.WriteLine("here") }

instead of

Foo += fun(_, _) { Console.WriteLine("here") }

See http://comments.gmane.org/gmane.comp.lang.nemerle.devel/2496


======================================================================

----------------------------------------------------------------------
 nazgul - 02-04-07 11:42 
----------------------------------------------------------------------
Fixed on trunk (r7375)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-28-07 18:09 nikov          New Issue                                    
02-04-07 11:42 nazgul         Status                   new => resolved     
02-04-07 11:42 nazgul         Resolution               open => fixed       
02-04-07 11:42 nazgul         Assigned To               => nazgul          
02-04-07 11:42 nazgul         Note Added: 0001672                          
======================================================================




More information about the bugs mailing list