Update README.md with latest demo

This commit is contained in:
Ginger Bill
2017-04-02 20:10:56 +01:00
parent 01da0d1377
commit 22afac2b90
3 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -3204,8 +3204,8 @@ bool check_builtin_procedure(Checker *c, Operand *operand, AstNode *call, i32 id
} break;
#endif
case BuiltinProc_make: {
// make :: proc(Type, len: int) -> []Type
// make :: proc(Type, len, cap: int) -> []Type
// make :: proc(Type, len: int) -> Type
// make :: proc(Type, len, cap: int) -> Type
Operand op = {0};
check_expr_or_type(c, &op, ce->args.e[0]);
Type *type = op.type;