Skip to content

Commit

Permalink
Fix Long.tryParse
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Mangel authored and alfonsogarciacaro committed Jan 8, 2019
1 parent 9cddf88 commit fc5a94f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "2.2.100"
"version": "2.1.403"
}
}
2 changes: 1 addition & 1 deletion src/js/fable-library/Long.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export function parse(str, style, unsigned, bitsize, radix) {

export function tryParse(str, style, unsigned, bitsize) {
try {
const v = parse(str, style, unsigned, bitsize, radix);
const v = parse(str, style, unsigned, bitsize);
return [true, v];
} catch {
// supress error
Expand Down

0 comments on commit fc5a94f

Please sign in to comment.