ringabout
cca5684a17
fixes yet another strictdefs bug ( #23069 )
2023-12-15 08:13:25 +01:00
ringabout
e17237ce9d
prepare for the enforcement of std prefix ( #22873 )
...
follow up https://github.com/nim-lang/Nim/pull/22851
2023-10-29 14:48:11 +01:00
ringabout
d677ed31e5
follow up #22549 ( #22551 )
2023-08-25 06:48:08 +02:00
ringabout
93ced31353
use strictdefs for compiler ( #22365 )
...
* wip; use strictdefs for compiler
* checkpoint
* complete the chores
* more fixes
* first phase cleanup
* Update compiler/bitsets.nim
* cleanup
2023-08-06 14:26:21 +02:00
Andreas Rumpf
8a19ac2070
fixes #21393 and misc style changes ( #21419 )
...
* fixes #21393 and misc style changes
* progress
---------
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com >
2023-02-24 09:02:15 +01:00
Juan Carlos
46eac22172
Improve dollar int ( #20737 )
...
Improve dollar
2022-11-03 09:44:11 +01:00
Juan Carlos
82b7423cea
int128.nim fix warnings ( #20666 )
...
* Silence warning false positive for int128.nim: Warning: target type is larger than source type
* Silence warning false positive for int128.nim: Warning: target type is larger than source type
* https://github.com/nim-lang/Nim/pull/20666#discussion_r1006162835
2022-10-27 14:19:55 +02:00
Andreas Rumpf
8d47bf1822
new move analyser2 ( #20471 )
...
* produce better code for closure environment creation
* new 'first write' analysis;
* scope based move analyser
* code cleanup
Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com >
2022-10-01 16:46:51 +02:00
flywind
7f6e800caf
move assertions out of system ( #19599 )
2022-03-23 20:34:53 +01:00
Andreas Rumpf
a9b62de895
CIs: attempt to use csources_v1 ( #16282 )
...
* CIs: attempt to use csources_v1
* also updated the BSDs
* also updated azure pipelines
* std modules should not itself use the 'std/' import dir...
* compiler has to be careful with std/ for v1 booting
2021-04-21 07:41:33 +02:00
flywind
bb85bc7ebc
remove a temporary variable in int128.nim ( #16935 )
2021-02-04 17:41:23 +01:00
flywind
57bd64582c
move tests under the compiler directory to testament ( #16096 )
2020-11-25 07:48:27 +01:00
Clyybber
13e659cfec
Big compiler Cleanup ( #14777 )
2020-08-28 22:18:09 +02:00
Timothee Cour
68539a2926
fix last remaining warning when building nim (intVal should be Int128) + minor cleanups ( #13841 )
2020-04-02 08:53:52 +02:00
Arne Döring
ccd2e044cb
fix bug in int128 ( #13403 )
2020-02-14 12:33:36 +01:00
cooldome
9b0e874687
fixes #12783 [backport] ( #12810 )
...
* fixes #12783
* Trigger build
2019-12-05 15:17:45 +01:00
Clyybber
7e747d11c6
Cosmetic compiler cleanup ( #12718 )
...
* Cleanup compiler code base
* Unify add calls
* Unify len invocations
* Unify range operators
* Fix oversight
* Remove {.procvar.} pragma
* initCandidate -> newCandidate where reasonable
* Unify safeLen calls
2019-11-28 17:13:04 +01:00
Miran
107b40f097
remove two asserts in int128.nim ( #12648 ) [backport]
...
Before this PR, `tests/misc/tconv.nim` fails when the compiler
is compiled without `-d:danger` flag.
Bear in mind that even without the asserts, the values outside of
a given range are still checked and a meaningful error message
(from `compiler/semexprs.nim`) is printed.
2019-11-15 12:37:43 +01:00
Arne Döring
3c567bcf20
fixes #12514 ( #12520 ) [backport]
2019-10-27 11:34:33 +01:00
Arne Döring
0a29c05a1b
fix #12332 ( #12402 ) [backport]
2019-10-10 14:35:26 +02:00
Andreas Rumpf
dd082b6ec8
fixes #12264 [backport] ( #12302 )
2019-09-30 21:44:24 +02:00
Andreas Rumpf
d70e292571
makes more tests green
2019-09-02 22:03:06 +02:00
Arne Döring
afbcd1b330
int128 on firstOrd, lastOrd and lengthOrd ( #11701 )
...
* fixes #11847
2019-08-07 15:53:16 +02:00
Araq
c94647aeca
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
2019-07-10 12:42:41 +02:00
Arne Döring
7d5d9f7703
introduce internal Int128 type, use it to fix case stmt checks ( #11652 )
...
* initial version of int128
* use int128 in case stmt
* fixes #11552
2019-07-05 22:45:32 +02:00