Zahary Karadjov
|
1b570f2b18
Turn the warning for uninitialized (result) variables into errors
|
4 years ago |
Zahary Karadjov
|
54f06427c8
Enable the requiresInit checks only for objects
|
4 years ago |
Zahary Karadjov
|
8ae48292ff
Plug another hole: default(T) forbidden for objects requiring initialization
|
4 years ago |
Zahary Karadjov
|
05a0ec4adb
Don't allow 'var x: T' for objects that require initialization
|
4 years ago |
Zahary Karadjov
|
a8b6222c86
First steps, the compiler can boot with enforced requiresInit
|
4 years ago |
Andreas Rumpf
|
9ffec79300
DrNim (Nim compiler with Z3 integration) (#13743)
|
4 years ago |
Andreas Rumpf
|
9134bb9cfb
macros for proc types, macros for types (#13778)
|
4 years ago |
Andreas Rumpf
|
0a49fe5fad
fixes #13763 (#13777)
|
4 years ago |
zah
|
e50441ab33
Fix typeSym.getImpl for ref types (#13752)
|
4 years ago |
Timothee Cour
|
46c827be6a
fix #13737 (#13738)
|
4 years ago |
Timothee Cour
|
913bc95964
new syntax for lvalue references: `var b {.byaddr.} = expr` (#13508)
|
4 years ago |
Andreas Rumpf
|
a6682de004
catchable defects (#13626)
|
4 years ago |
Andreas Rumpf
|
83e715c5b6
fixes #5170 (#13589)
|
4 years ago |
Andreas Rumpf
|
a0eca75182
sink parameter inference for types that have destructors (#13544)
|
4 years ago |
cooldome
|
c79df2fb6a
EndsInNoReturn in expressions extension, fixes #13490 (#13520)
|
4 years ago |
Arne Döring
|
2fee89f7db
fix #13255 (#13275) [backport]
|
5 years ago |
Jasper Jenkins
|
796aafe7e0
make case-object transitions explicit, make unknownLineInfo a const, replace a few magic numbers with consts (#13170)
|
5 years ago |
Andreas Rumpf
|
eadd1ba9ed
fixes #13112 (#13127)
|
5 years ago |
Araq
|
a7b4b2ed54
fixes a bug that kept sugar.collect from working with for loop macros [backport]
|
5 years ago |
Jasper Jenkins
|
2e7c9eb6a8
case coverage error message for `char` (#12948)
|
5 years ago |
Jasper Jenkins
|
3c38edf563
Better case coverage error message for alias and range enum (#12913)
|
5 years ago |
Andreas Rumpf
|
83a736a34a
ARC: cycle detector (#12823)
|
5 years ago |
Neelesh Chandola
|
7ebb2baa6c
Assigning template to var/let/const gives a proper error (#12851)
|
5 years ago |
Clyybber
|
7e747d11c6
Cosmetic compiler cleanup (#12718)
|
5 years ago |
Andreas Rumpf
|
f69ee294c8
bugfix that enables the 'since' template [backport]
|
5 years ago |
Andreas Rumpf
|
7192b13609
some progress on bug #12443
|
5 years ago |
Araq
|
61ea85687c
refactoring: --newruntime consists of 3 different switches
|
5 years ago |
Arne Döring
|
7cf3395d85
refactor illegal iterator assignment detection (#12212)
|
5 years ago |
Clyybber
|
85db42ad8c
Fixes #10514 (#12268)
|
5 years ago |
Clyybber
|
ed1d41c51e
Small ast.nim cleanup (#12156)
|
5 years ago |