Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Turn some of the errors back into warnings | Zahary Karadjov | 2020-04-01 | 1 | -14/+32 |
| | |||||
* | Replace tfHasRequiresInit with a more accurate mechanism | Zahary Karadjov | 2020-04-01 | 1 | -0/+112 |
| | | | | | | | | | The new mechanism can deal with more complex scenarios such as not nil field appearing in a non-default case object branch or a field within a generic object that may depend on a when branch. The commit also plugs another hole: the user is no longer able to create illegal default values through seq.setLen(N). | ||||
* | Fix https://github.com/nim-lang/Nim/issues/4907 | Zahary Karadjov | 2020-04-01 | 1 | -1/+40 |
| | |||||
* | Close https://github.com/nim-lang/Nim/issues/11428 | Zahary Karadjov | 2020-04-01 | 1 | -0/+12 |
| | |||||
* | Perform nil checks during object construction and within compiles() | Zahary Karadjov | 2020-04-01 | 1 | -3/+2 |
| | | | | Close https://github.com/nim-lang/Nim/issues/6494 | ||||
* | not nil types are illegal to construct through default(T) | Zahary Karadjov | 2020-04-01 | 1 | -0/+14 |
| | |||||
* | Turn the warning for uninitialized (result) variables into errors | Zahary Karadjov | 2020-04-01 | 1 | -2/+81 |
| | |||||
* | Plug another hole: default(T) forbidden for objects requiring initialization | Zahary Karadjov | 2020-04-01 | 1 | -0/+5 |
| | |||||
* | Don't allow 'var x: T' for objects that require initialization | Zahary Karadjov | 2020-04-01 | 1 | -0/+8 |
| | |||||
* | More sophistication; Allow requiresInit to be specified per-field | Zahary Karadjov | 2020-04-01 | 1 | -0/+31 |
| | |||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 2 | -2/+2 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-05-02 | 1 | -2/+2 |
| | |||||
* | Fixes #5965 (#6237) | Daniil Yarancev | 2017-08-14 | 2 | -0/+20 |
| | |||||
* | object construction: test cases and manual additions | Zahary Karadjov | 2017-04-06 | 1 | -0/+122 |