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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user