From 7565ab7f6586cd0f77237ab7f6972c80ac1d1f11 Mon Sep 17 00:00:00 2001 From: PuqiAR Date: Sat, 27 Dec 2025 20:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Ast/functionParameters.hpp | 4 ++-- xmake.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Ast/functionParameters.hpp b/src/Ast/functionParameters.hpp index a251d63..3c8ae5c 100644 --- a/src/Ast/functionParameters.hpp +++ b/src/Ast/functionParameters.hpp @@ -10,9 +10,9 @@ namespace Fig::Ast { /* Positional Parameters: - fun test(pp1, pp2: Int) + func test(pp1, pp2: Int) Default Parameters: - fun test2(dp1 = 10, dp2:String = "default parameter 2") + func test2(dp1 = 10, dp2:String = "default parameter 2") */ using PosParasType = std::vector>; diff --git a/xmake.lua b/xmake.lua index 5a44f0c..5abfba9 100644 --- a/xmake.lua +++ b/xmake.lua @@ -5,7 +5,7 @@ set_policy("run.autobuild", false) target("Fig") set_kind("binary") - set_languages("c++2b") + set_languages("c++23") set_plat("mingw")