[nem-bug] [Nemerle 0000779]: String concatination

feedback at nemerle.org feedback at nemerle.org
Mon Oct 30 02:58:05 CET 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=779> 
======================================================================
Reported By:                IT
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   779
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-30-2006 02:58 CET
Last Modified:              10-30-2006 02:58 CET
======================================================================
Summary:                    String concatination
Description: 
Code:

module Test
{
  Main () : void
  {
    _ = "" + match (1) { | 1 => "" | _ => "" } + ""
  }
}

Error: cannot find the operator `op_UnaryPlus' on string

The following works fine:

module Test
{
  Main () : void
  {
    _ = "" + (match (1) { | 1 => "" | _ => "" }) + ""
  }
}
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-30-06 02:58 IT             New Issue                                    
======================================================================




More information about the bugs mailing list