[nem-bug] [Nemerle 0000749]: Uninitialized local variables.

feedback at nemerle.org feedback at nemerle.org
Sun Sep 3 01:40:11 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=749> 
======================================================================
Reported By:                IT
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   749
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-03-2006 01:40 CEST
Last Modified:              09-03-2006 01:40 CEST
======================================================================
Summary:                    Uninitialized local variables.
Description: 
using System;

public module Program
{
    Main() : void
    {
      mutable str : string;
      _ = str.Substring(0);
    }
}

No error, no warning. It differs from C# behaviour.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
09-03-06 01:40 IT             New Issue                                    
======================================================================




More information about the bugs mailing list