From 562f24336d02d8709998b0360fbdb55bcb25fe13 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 17 Dec 2019 01:21:10 +0300 Subject: [PATCH] add ./v2 to gitignore --- .gitignore | 1 + tutorials/building-a-simple-web-blog-with-vweb.md | 2 +- tutorials/{ => code/blog}/blog.sql | 0 vlib/builtin/array.v | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) rename tutorials/{ => code/blog}/blog.sql (100%) diff --git a/.gitignore b/.gitignore index c45deb5e08..824f952be9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ fns.txt *.dSYM *_test /v +/v2 /vprod /v.c /v.*.c diff --git a/tutorials/building-a-simple-web-blog-with-vweb.md b/tutorials/building-a-simple-web-blog-with-vweb.md index 5387098595..08abec4bcf 100644 --- a/tutorials/building-a-simple-web-blog-with-vweb.md +++ b/tutorials/building-a-simple-web-blog-with-vweb.md @@ -383,7 +383,7 @@ pub fn (app mut App) articles() { -To be continued on Dec 14... +To be continued... For an example of a more sophisticated web app written in V, check out Vorum: https://github.com/vlang/vorum diff --git a/tutorials/blog.sql b/tutorials/code/blog/blog.sql similarity index 100% rename from tutorials/blog.sql rename to tutorials/code/blog/blog.sql diff --git a/vlib/builtin/array.v b/vlib/builtin/array.v index 35aa5b15ee..d920f7b454 100644 --- a/vlib/builtin/array.v +++ b/vlib/builtin/array.v @@ -231,7 +231,7 @@ fn (a array) slice(start, _end int) array { len: l cap: l } - return res + return res.clone() } // Private function. Used to implement assigment to the array element.