Andreas Rumpf
1854d29781
scoped memory management ( #14790 )
...
* fixes the regressions
* closes #13936
* scope based memory management implemented
* enabled tcontrolflow.nim test case
* final cleanups
2020-07-04 07:37:24 +02:00
Andreas Rumpf
da29222f86
init checks and 'out' parameters ( #14521 )
...
* I don't care about observable stores
* enforce explicit initializations
* cleaner code for the stdlib
* stdlib: use explicit initializations
* make tests green
* algorithm.nim: set result explicitly
* remove out parameters and bring the PR into a mergable state
* updated the changelog
2020-06-23 10:53:57 +02:00
cooldome
65c5367dc1
Fixes #14014 ( #14029 )
...
* add test
* improve test
* progress
* fix #14014
* fix bug
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-20 15:57:36 +02:00
cooldome
d3b0132061
Step2: fixes #13781 , fixes #13805 ( #13897 )
...
* Fix sym owner in wrapper proc
* threadpool changes
* revert lowerings
* add newFastMoveStmt
* try fixing test by switching to cpp
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-16 23:27:08 +02:00
Andreas Rumpf
3a2697dd73
drnim: tiny progress ( #13882 )
...
* drnim: tiny progress
* refactoring complete
* drnim: prove .ensures annotations
* Moved code around to avoid code duplication
* drnim: first implementation of the 'old' property
* drnim: be precise about the assignment statement
* first implementation of --assumeUnique
* progress on forall/exists handling
2020-04-15 20:03:25 +02:00
cooldome
6d4f07f2ea
Fix sym owner in wrapper proc ( #13878 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-04-05 16:44:15 +02:00
cooldome
586ebb090b
fixes #13708 ( #13711 )
...
* fixes #13708
* differentiate between arc and rest of GC
Co-authored-by: cooldome <ariabushenko@bk.ru >
2020-03-21 07:12:10 +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
Araq
61ea85687c
refactoring: --newruntime consists of 3 different switches
2019-10-20 08:11:07 +02:00
Araq
bebda3851f
fixes #1188
2019-08-16 13:29:58 +02:00
Araq
07d465ca42
[refactoring] remove unused imports in the compiler and in some stdlib modules
2019-07-18 00:36:03 +02:00
Araq
9db369063c
[refactoring] moves transformation for 'spawn' into its own spawn.nim implementation
2019-07-14 12:13:19 +02:00