Skip to content

Commit 39eddf6

Browse files
committed
remove ignore in res_scanner
1 parent 7b601f2 commit 39eddf6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
- Fix `%external` extension. https://github.com/rescript-lang/rescript/pull/7272
2323
- Fix issue with type environment for unified ops. https://github.com/rescript-lang/rescript/pull/7277
2424

25+
#### :house: Internal
26+
27+
- Remove ignore in res_scanner.ml . https://github.com/rescript-lang/rescript/pull/7280
28+
2529
# 12.0.0-alpha.8
2630

2731
#### :bug: Bug fix

compiler/syntax/src/res_scanner.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@ let scan_number scanner =
257257
8)
258258
| _ -> 10
259259
in
260-
ignore (scan_digits scanner ~base);
260+
let _found_digits = scan_digits scanner ~base in
261261

262262
(* *)
263263
let is_float =
264264
if '.' == scanner.ch then (
265265
next scanner;
266-
ignore (scan_digits scanner ~base);
266+
let _found_digits = scan_digits scanner ~base in
267267
true)
268268
else false
269269
in

0 commit comments

Comments
 (0)