diff options
author | Son Ho | 2023-10-23 13:47:39 +0200 |
---|---|---|
committer | Son Ho | 2023-10-23 13:47:39 +0200 |
commit | 838cc86cb2efc8fb64a94a94b58b82d66844e7e4 (patch) | |
tree | 26f8d2064020861bd821a15b50f84f2e95ae21af /compiler/FunsAnalysis.ml | |
parent | f11d5186b467df318f7c09eedf8b5629c165b453 (diff) |
Remove some assumed types and add more support for builtin definitions
Diffstat (limited to '')
-rw-r--r-- | compiler/FunsAnalysis.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/FunsAnalysis.ml b/compiler/FunsAnalysis.ml index a09a6d05..5e849ba7 100644 --- a/compiler/FunsAnalysis.ml +++ b/compiler/FunsAnalysis.ml @@ -88,7 +88,7 @@ let analyze_module (m : crate) (funs_map : fun_decl FunDeclId.Map.t) can_diverge := !can_diverge || info.can_diverge | FunId (Assumed id) -> (* None of the assumed functions can diverge nor are considered stateful *) - can_fail := !can_fail || Assumed.assumed_can_fail id + can_fail := !can_fail || Assumed.assumed_fun_can_fail id | TraitMethod _ -> (* We consider trait functions can fail, diverge, and are not stateful *) can_fail := true; |