Erlang.NET icon indicating copy to clipboard operation
Erlang.NET copied to clipboard

Boolean Atoms exported as 'True' and 'False' (capitalized).

Open jarnaldich opened this issue 14 years ago • 0 comments

Hi there!

First of all, thanks a lot for sharing this great library.

I think I found an issue with Boolean Atom conversions due to calling ToString() for serialization. ToString capitalizes its result, so Erlang sees 'True' and 'False' instead of true and false (parsing works ok anyway, since Boolean.Parse is case-insensitive)...

Changing one line solved the problem for me. I send you this pull request in case you're interested...

Thanks again!

Joan.

jarnaldich avatar Nov 16 '11 10:11 jarnaldich