Proxy for System.Int32.TryParse is more permissive than its .NET counterpart #673

Closed
Tarmil opened this Issue Mar 21, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@Tarmil
Member

Tarmil commented Mar 21, 2017

It just uses JavaScript's parseInt, so for example TryParse("12test") returns true, 12 when it should return false, _.

All the numeric parsing methods should be reviewed and tested for such semantics issues. See related issue dotnet-websharper/ui#99.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment