[Mono-osx] Announcing Mono 2.4 Preview RC 2...
Manuel de la Pena
mandel at themacaque.com
Sat Mar 14 14:42:01 EDT 2009
Hello there,
I believe I have found a bug as well but I do not know if it has been
filled yet. The following throws an exception "Argument is out of
range." while on Microsofts .Net runtime works as expected (we can
access the named groups).
private def ParseErrorLine() as System.CodeDom.Compiler.CompilerError:
error = System.CodeDom.Compiler.CompilerError()
#errors are of the form "file(row, column):ErrorNum:Type:message"
data =
@/(?<file>.*boo)\((?<row>[0-9]+),(?<column>[0,9]+)\):(?<message>.*)/.Matches("/home/mandel/Code/boo/boo-nant/boo-nant/BooNantInclude.boo(63,9): BCE0005: Unknown identifier: 'supr'.")
error.ErrorText = data[0].Groups["message"].Value
error.FileName = data[0].Groups["file"].Value
error.Line = int.Parse(data[0].Groups["row"].Value)
error.Column = int.Parse(data[0].Groups["column"].Value)
if error.ErrorText.Contains("WARNING"):
error.IsWarning = true
return error
The code is written in boo but I have tested the C# equivalent and the
results are the same. It looks like it the regex tries to match the
group names rather than ignoring them.
Kr,
manuel => mandel
On Fri, 2009-03-13 at 22:06 -0700, Chuck Esterbrook wrote:
> On Mon, Mar 9, 2009 at 7:43 PM, Thomas Wiest <twiest at novell.com> wrote:
> ...
> > The earlier you file the bugs and reply to this message, the more likely your bugs will get fixed.
> ...
>
> Just found this tonight. Method overload resolution problem:
>
> https://bugzilla.novell.com/show_bug.cgi?id=485378
>
>
> Thanks,
> -Chuck
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
More information about the Mono-osx
mailing list