Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Revert deprecation warning fix, Fixes #8 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ConradIrwin
Copy link
Contributor

The deprecation warning says:

File "RuleScanner.ml", line 27, characters 14-26:
27 |         Some (Scanf.fscanf in_channel "%[^\r\n]\n" (fun x -> x))
                   ^^^^^^^^^^^^
Alert deprecated: Stdlib.Scanf.fscanf
Use Scanning.from_channel then Scanf.bscanf.

But clearly I'm missing the difference between what they suggest and what I
tried. Reverting this fixes it, at the expense of reintroducing the compile
warning.

The deprecation warning says:

File "RuleScanner.ml", line 27, characters 14-26:
27 |         Some (Scanf.fscanf in_channel "%[^\r\n]\n" (fun x -> x))
                   ^^^^^^^^^^^^
Alert deprecated: Stdlib.Scanf.fscanf
Use Scanning.from_channel then Scanf.bscanf.

But clearly I'm missing the difference between what they suggest and
what I tried
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant