Zahary Karadjov
|
be95f8fdfa
Turn some of the errors back into warnings
|
hace 4 años |
Zahary Karadjov
|
ce9a4ed124
Replace tfHasRequiresInit with a more accurate mechanism
|
hace 4 años |
Zahary Karadjov
|
e63b673ce2
Fix https://github.com/nim-lang/Nim/issues/4907
|
hace 4 años |
Zahary Karadjov
|
06438ed143
Close https://github.com/nim-lang/Nim/issues/11428
|
hace 4 años |
Zahary Karadjov
|
4f3d309fb0
Perform nil checks during object construction and within compiles()
|
hace 4 años |
Zahary Karadjov
|
f3be5a716f
not nil types are illegal to construct through default(T)
|
hace 4 años |
Zahary Karadjov
|
1b570f2b18
Turn the warning for uninitialized (result) variables into errors
|
hace 4 años |
Zahary Karadjov
|
8ae48292ff
Plug another hole: default(T) forbidden for objects requiring initialization
|
hace 4 años |
Zahary Karadjov
|
05a0ec4adb
Don't allow 'var x: T' for objects that require initialization
|
hace 4 años |
Zahary Karadjov
|
7652aede41
More sophistication; Allow requiresInit to be specified per-field
|
hace 4 años |
Andreas Rumpf
|
74fe7a800b
make tests green again
|
hace 6 años |
Zahary Karadjov
|
f162214d5d
object construction: test cases and manual additions
|
hace 7 años |