From db6bb99b24a31b02f499eb6e09649b61eef3efe7 Mon Sep 17 00:00:00 2001 From: MineRobber9000 Date: Tue, 12 Mar 2024 03:13:59 -0400 Subject: [PATCH] Map type should also have `pull` intrinsic --- MiniScript-cpp/src/MiniScript/MiniscriptIntrinsics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MiniScript-cpp/src/MiniScript/MiniscriptIntrinsics.cpp b/MiniScript-cpp/src/MiniScript/MiniscriptIntrinsics.cpp index 2abba43..5bc7b48 100644 --- a/MiniScript-cpp/src/MiniScript/MiniscriptIntrinsics.cpp +++ b/MiniScript-cpp/src/MiniScript/MiniscriptIntrinsics.cpp @@ -1226,6 +1226,7 @@ namespace MiniScript { d.SetValue("indexOf", Intrinsic::GetByName("indexOf")->GetFunc()); d.SetValue("len", Intrinsic::GetByName("len")->GetFunc()); d.SetValue("pop", Intrinsic::GetByName("pop")->GetFunc()); + d.SetValue("pull", Intrinsic::GetByName("pull")->GetFunc()); d.SetValue("push", Intrinsic::GetByName("push")->GetFunc()); d.SetValue("shuffle", Intrinsic::GetByName("shuffle")->GetFunc()); d.SetValue("sum", Intrinsic::GetByName("sum")->GetFunc());