aboutsummaryrefslogtreecommitdiff
path: root/src/checker.c
diff options
context:
space:
mode:
authorZac Pierson <zacpiersonhehe@gmail.com>2017-03-02 15:41:19 -0600
committerZac Pierson <zacpiersonhehe@gmail.com>2017-03-02 15:41:19 -0600
commitd890731716ea96fd69d7543c7d7225702cbd7268 (patch)
tree2fb1a025fc214ccc55a6515adb276c3bc4ac7a77 /src/checker.c
parent231ea8b0264e8b6d47278f01fb7c31b8562c2bbb (diff)
parent9e8c9be1ea825c2b5c66e62724519ae9ab8ab8f6 (diff)
Merge https://github.com/gingerBill/Odin
Diffstat (limited to 'src/checker.c')
-rw-r--r--src/checker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.c b/src/checker.c
index 62a243bb6..ecb0f033b 100644
--- a/src/checker.c
+++ b/src/checker.c
@@ -68,7 +68,7 @@ gb_global BuiltinProc builtin_procs[BuiltinProc_Count] = {
{STR_LIT(""), 0, false, Expr_Stmt},
{STR_LIT("new"), 1, false, Expr_Expr},
- {STR_LIT("new_slice"), 2, false, Expr_Expr},
+ {STR_LIT("new_slice"), 2, true, Expr_Expr},
{STR_LIT("free"), 1, false, Expr_Stmt},
{STR_LIT("reserve"), 2, false, Expr_Stmt},