1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: do not allow string(int)

This commit is contained in:
Alexander Medvednikov
2020-05-05 15:26:42 +02:00
parent c5d295c378
commit a0ca68ce3f
5 changed files with 9 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ const (
fn C.symlink(charptr, charptr) int
fn init_os_args(argc int, argv &byteptr) []string {
fn init_os_args(argc int, argv &&byte) []string {
mut args := []string{}
//mut args := []string(make(0, argc, sizeof(string)))
//mut args := []string{len:argc}