[bitc-dev] bug in character decode routines
Jonathan S. Shapiro
shap at eros-os.org
Mon May 15 14:38:29 EDT 2006
Thanks. I added the patch.
The bigger issue here is unicode characters, which we haven't got a good
answer for yet.
shap
On Mon, 2006-05-15 at 19:14 +0100, Sam Mason wrote:
> Hi,
>
> Another little buglet -- this time in the character decoding routines!
> If you enter a character literal like #\a it will be decoded as some
> random value (``codePoint'' in LitValue::DecodeRawCharacter() never
> appears to get initialised to anything in this case).
>
> As far as I can tell (a couple of the unit tests seem to confirm it)
> this is how I would write the single character `a' and I'm not expected
> to write #\{U+61}. Even if you are, I don't think the computer should
> be writing out random values from uninitialised variables.
>
>
> Sam
> _______________________________________________
> bitc-dev mailing list
> bitc-dev at coyotos.org
> http://www.coyotos.org/mailman/listinfo/bitc-dev
More information about the bitc-dev
mailing list