v
v copied to clipboard
Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
This PR fix generics with nested generic method call (fix #15387). - Fix generics with nested generic method call. - Add test. ```v struct Calc { mut: typ S }...
#15381
I will do some refactor for this example soon. - [x] Change pt-br sentences - [x] Erase 'name' field of User struct and set user CURRENT_DATETIME as default - [x]...
Refactoring js_dom_draw_bechmark_chart.
**V version:** V 0.3.0 7be9963 **OS:** macos, macOS, 12.5, 21G72 **What did you do?** ```v struct Calc { mut: typ S } struct TypeA {} struct TypeB {} fn (mut...
**V doctor:** ``` OS: linux, Ubuntu 22.04 LTS Processor: 12 cpus, 64bit, little endian, Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz CC version: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 V full version: V...
### V Doctor: ```sh OS: linux, Ubuntu 20.04.4 LTS (WSL 2) Processor: 12 cpus, 64bit, little endian, 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz CC version: cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0...
**V version:** 0.2.4 a2db44b.7f67981 **OS:** 0.2.4 a2db44b.7f67981 **What did you do?** ```v module main import json struct Foo { a [3]int } fn main() { s := Foo{[1,2,3]!} println(json.encode(s)) }...
**V doctor:** ``` OS: linux, Pop!_OS 22.04 LTS Processor: 6 cpus, 64bit, little endian, AMD Ryzen 5 4500U with Radeon Graphics CC version: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 getwd: /home/astro/Projects/V/scratch/sp_user vmodules:...
V full version: V 0.3.0 b01f71d.8c33a40 Processor: 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz **What did you do?** Try to serve a 1.9G file in #15376...