[nem-bug] [Nemerle 0000873]: ICE on decimal literal

feedback at nemerle.org feedback at nemerle.org
Mon Feb 5 13:54:41 CET 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=873> 
======================================================================
Reported By:                nikov
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   873
Category:                   Compiler
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             02-05-2007 13:54 CET
Last Modified:              02-05-2007 13:54 CET
======================================================================
Summary:                    ICE on decimal literal
Description: 
_ = 1E10M;

internal compiler error: got some unknown exception of type
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options,
NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseDecimal(String value, NumberStyles options,
NumberFormatInfo numfmt)
   at System.Decimal.Parse(String s, IFormatProvider provider)
   at Nemerle.Compiler.LexerBase._N_exponent_part62342(_N_closure62296
_N_get_number_cp62341, Boolean only_realsuf) in
C:\Nemerle\Compiler\ncc\parsing\Lexer.n:line 575
   at Nemerle.Compiler.LexerBase.get_number(Char first_ch) in
C:\Nemerle\Compiler\ncc\parsing\Lexer.n:line 667
   at Nemerle.Compiler.LexerBase.do_get_token() in
C:\Nemerle\Compiler\ncc\parsing\Lexer.n:line 1078
   at Nemerle.Compiler.LexerBase.GetToken() in
C:\Nemerle\Compiler\ncc\parsing\Lexer.n:line 1104
   at Nemerle.Compiler.LexerFile.GetToken() in
C:\Nemerle\Compiler\ncc\parsing\Lexer.n:line 1628
   at Nemerle.Compiler.PreParser.get_token() in
C:\Nemerle\Compiler\ncc\parsing\PreParser.n:line 108
   at Nemerle.Compiler.PreParser.ParseTopLevelImpl(Int32 nesting) in
C:\Nemerle\Compiler\ncc\parsing\PreParser.n:line 475
   at Nemerle.Compiler.PreParser.ParseTopLevel() in
C:\Nemerle\Compiler\ncc\parsing\PreParser.n:line 567
   at Nemerle.Compiler.MainParser.Parse(LexerBase lex) in
C:\Nemerle\Compiler\ncc\parsing\MainParser.n:line 199
   at Nemerle.Compiler.ManagerClass._N_static_proxy20266.apply(LexerBase
_N_sp_parm20273) in C:\Nemerle\Compiler\ncc\passes.n:line 196
   at Nemerle.Compiler.ManagerClass._N__N_l20805_20839.apply(String
_N_20838) in C:\Nemerle\Compiler\ncc\passes.n:line 406
   at Nemerle.Collections.List.RevMap['a,'b](list`1 l, Function`2 f) in
C:\Nemerle\Compiler\lib\list.n:line 918
   at Nemerle.Compiler.ManagerClass.Run() in
C:\Nemerle\Compiler\ncc\passes.n:line 406
   at Nemerle.CommandlineCompiler.MainClass.main_with_catching() in
C:\Nemerle\Compiler\ncc\main.n:line 86

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

Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-05-07 13:54 nikov          New Issue                                    
======================================================================




More information about the bugs mailing list