diff options
| author | Brian Campbell | 2021-02-25 15:01:43 +0000 |
|---|---|---|
| committer | Brian Campbell | 2021-02-25 15:01:43 +0000 |
| commit | ace7b32fe420234575ad7564f64c76309e3a74b3 (patch) | |
| tree | 08d07586ee8199dceff9d0ab77fc453008118f9e /src/sail.ml | |
| parent | bb0a81f2170d068f561c6380bff500d568a7ffd3 (diff) | |
Remove accidental use of too-recent Option module
Also drop a related bit of dead code
Diffstat (limited to 'src/sail.ml')
| -rw-r--r-- | src/sail.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sail.ml b/src/sail.ml index 00bff679..60dbc7ab 100644 --- a/src/sail.ml +++ b/src/sail.ml @@ -635,7 +635,7 @@ let main () = let ast, type_envs = if !opt_infer_effects then - let ast = Spec_analysis.infer_effects (Option.value !opt_target ~default:"") ast in + let ast = Spec_analysis.infer_effects ast in let _ = if reset_effect_checking then Type_check.opt_no_effects := true in Type_error.check Type_check.initial_env ast else ast, type_envs |
