defining a char array of a single quote

If you find any bugs, please post them here.

defining a char array of a single quote

Postby mikiurban » Mon Sep 07, 2009 10:17 am

This C# line seems to create a problem:

Code: Select all
char[] quotes = new char[] { '"' };


It's a declaration of a character array of a single char of a quotation symbol.

This works fine:

Code: Select all
char[] quotes = new char[] { 'a' };


And this is a workaround:
Code: Select all
char q = '"'; char[] quotes = new char[] { q };


Thanks for the awesome program!
mikiurban
 
Posts: 2
Joined: Mon Sep 07, 2009 10:09 am

Re: defining a char array of a single quote

Postby rauchy » Mon Sep 07, 2009 8:18 pm

Mikiurban,

Thanks for reporting.

I created ticket #56 - http://trac2.assembla.com/Regionerate/ticket/56#preview
-- rauchy.
rauchy
Site Admin
 
Posts: 267
Joined: Wed May 09, 2007 2:39 am
Location: Israel

Re: defining a char array of a single quote

Postby rauchy » Mon Sep 07, 2009 8:22 pm

Fixed. Should be available in the next nightly build.
-- rauchy.
rauchy
Site Admin
 
Posts: 267
Joined: Wed May 09, 2007 2:39 am
Location: Israel

Re: defining a char array of a single quote

Postby mikiurban » Mon Sep 07, 2009 11:10 pm

Wow that was fast!
mikiurban
 
Posts: 2
Joined: Mon Sep 07, 2009 10:09 am


Return to Bug Reports

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron