[Mono-list] const weirdness
Miguel de Icaza
miguel@ximian.com
07 Apr 2002 10:04:28 -0400
> However unless I am missing something this is not how it should fail:
>
>
> (process:12689): ** WARNING **: unhandled exception
> System.FormatException: "The specified format is invalid"
> in System.IntegerFormatter:NumberToString ()
> in System.Int32:ToString ()
> in System.String:Format ()
> in System.String:Format ()
> in Mono.CSharp.Report:Error ()
> in Mono.CSharp.Assign:DoResolve ()
> in Mono.CSharp.Expression:Resolve ()
> in Mono.CSharp.StatementExpression:Emit ()
> in Mono.CSharp.Block:Emit ()
> in Mono.CSharp.EmitContext:EmitTopBlock ()
> in Mono.CSharp.Method:Emit ()
> in Mono.CSharp.TypeContainer:Emit ()
> in Mono.CSharp.RootContext:EmitCode ()
> in Mono.CSharp.Driver:MainDriver ()
> in Mono.CSharp.Driver:Main ()
It seems like the new integer formatter does not like the format we use
for rendering data. This is clearly a bug in the formatter.
Gonzalo, can you look at this?
Miguel