diff options
author | Zyad Hassan | 2024-04-12 10:48:03 -0700 |
---|---|---|
committer | Zyad Hassan | 2024-04-24 09:21:18 -0700 |
commit | 9b281e021b3b2dbfa6ff265cc843e0aac3b400ac (patch) | |
tree | e4231b5e3021e097f9b805a3372507d7bd7fc290 /compiler | |
parent | 1be37966ceea2510b911b119a96246b4657a62fd (diff) |
Add core::option::unwrap builtin
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ExtractBuiltin.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ExtractBuiltin.ml b/compiler/ExtractBuiltin.ml index a9b939b5..e84d5896 100644 --- a/compiler/ExtractBuiltin.ml +++ b/compiler/ExtractBuiltin.ml @@ -383,6 +383,8 @@ let builtin_funs () : (pattern * bool list option * builtin_fun_info) list = @A>>}::deref_mut" (Some "alloc.vec.DerefMutVec.deref_mut") (Some [ true; false ]); + mk_fun "core::option::{core::option::Option<@T>}::unwrap" + (Some "core.option.Option.unwrap") None; ] @ List.flatten (List.map |