1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib
Delyan Angelov e72fe25224 compiler: more precise 'declared and not used' error positioning
* compiler: extract and cleanup error handling functionality into its own file compiler/compile_errors.v

* compiler: implement p.error_with_token_index and p.warn_with_token_index and use them. Fix tests.

* tools/performance_compare: add a 'Source lines in compiler/' line

* MSVC does not have STDOUT_FILENO nor STDERR_FILENO ...
2019-09-29 20:37:39 +03:00
..
benchmark testing: always show benchmarks 2019-09-16 18:27:55 +03:00
bitfield vlib: change [0;n] to [0].repeat(n) 2019-09-15 12:26:05 +03:00
builtin parser: float1 == float2 uses machine epsilon by default 2019-09-29 18:27:53 +03:00
crypto crypto: make sum methods safe 2019-09-29 16:44:52 +03:00
darwin compiler: small fixes + some logic for freeing strings 2019-09-26 03:24:58 +03:00
encoding fix base64 test 2019-09-28 22:23:22 +03:00
flag tooling: add tools/compare_v_performance_between_commits 2019-09-28 14:17:16 +03:00
freetype compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
gg vlib: fix several typos 2019-09-14 23:54:14 +03:00
gl compiler: error on unused imports 2019-09-23 13:42:20 +03:00
glfw compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
glm compiler: error on unused imports 2019-09-23 13:42:20 +03:00
gx move all vlib modules to vlib/ 2019-06-29 12:00:31 +02:00
hash hash.crc32: change *Crc32 to &Crc32 2019-09-13 22:45:04 +03:00
http darwin: use system ssl headers 2019-09-27 01:35:25 +03:00
json json: use & 2019-09-02 19:17:05 +03:00
log log: add seconds to terminal output too. 2019-08-30 13:06:02 +03:00
math parser: float1 == float2 uses machine epsilon by default 2019-09-29 18:27:53 +03:00
mysql mysql: make compile 2019-09-26 03:18:26 +03:00
net windows: Unicode and IPv6 http/sockets 2019-09-26 22:54:15 +03:00
orm orm_test: remove pg import for now 2019-08-18 15:02:36 +03:00
os rename ModPath to v_modules_path; do not allow long variable names without _ 2019-09-29 05:34:17 +03:00
pg pg: update optional return syntax 2019-09-26 14:23:29 +03:00
rand rand: add pcg32 and splitmix64 implementations 2019-09-23 00:50:22 +03:00
readline readline: utf8 compatibility 2019-09-23 13:43:24 +03:00
stbi compiler: error on unused imports 2019-09-23 13:42:20 +03:00
strings strings: simplify repeat() 2019-09-25 22:08:51 +03:00
sync compiler: error on unused imports 2019-09-23 13:42:20 +03:00
szip compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors 2019-09-25 17:59:50 +03:00
term compiler: more precise 'declared and not used' error positioning 2019-09-29 20:37:39 +03:00
time operator | not defined on bool 2019-09-15 19:35:48 +03:00
ui compiler: free local_vars 2019-09-23 22:16:52 +03:00
vweb compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors 2019-09-25 17:59:50 +03:00