[nem-bug] [Nemerle 0000838]: 'throw' instruction without argument shall be disallowed outside of catch block

feedback at nemerle.org feedback at nemerle.org
Fri Jan 26 21:25:47 CET 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=838> 
======================================================================
Reported By:                nikov
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   838
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             01-26-2007 18:02 CET
Last Modified:              01-26-2007 21:25 CET
======================================================================
Summary:                    'throw' instruction without argument shall be
disallowed outside of catch block
Description: 
'throw' instruction without argument shall be disallowed outside of catch
block. Currently this condition is not checked.

module Program {
	static Main() : void { 
		try {
			throw
		}
		catch {
			| e => System.Console.WriteLine(e)
		}
	}
}

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

----------------------------------------------------------------------
 nazgul - 01-26-07 21:25 
----------------------------------------------------------------------
Fixed on trunk (r7341)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-26-07 18:02 nikov          New Issue                                    
01-26-07 21:25 nazgul         Status                   new => resolved     
01-26-07 21:25 nazgul         Resolution               open => fixed       
01-26-07 21:25 nazgul         Assigned To               => nazgul          
01-26-07 21:25 nazgul         Note Added: 0001647                          
======================================================================




More information about the bugs mailing list