ringabout
|
1707bc4a99
fixes #20856; store defaults directly (#20859)
|
2 anni fa |
ringabout
|
7f2ff909d9
fixes object default fields bugs and add tests (#20839)
|
2 anni fa |
ringabout
|
c4e5dab419
fixes #20740; fixes pre-existing field visibility issues and removes `efSkipFieldVisibilityCheck` (#20741)
|
2 anni fa |
ringabout
|
141abb7b75
fixes #20681; add efSkipFieldVisibilityCheck to skip check (#20639)
|
2 anni fa |
ringabout
|
f89ba2c951
add default field support for object in ARC/ORC (#20480)
|
2 anni fa |
Bung
|
2afce84616
Improve error message when instantiating generics with object constructor (#20358)
|
2 anni fa |
metagn
|
0014b9c48e
top-down type inference, implements rfc 149 (#20091)
|
2 anni fa |
Andreas Rumpf
|
23c117a950
misc bugfixes [backport:1.2] (#19203)
|
3 anni fa |
haxscramper
|
4c510d5577
[FIX] Do not break formatted string line (#19085) [backport]
|
3 anni fa |
Andreas Rumpf
|
576fece909
fixes 'lent T' inside object constructor [backport] (#18911)
|
3 anni fa |
Andreas Rumpf
|
cddf8ec6f6
implements https://github.com/nim-lang/RFCs/issues/407 (#18793)
|
3 anni fa |
Andreas Rumpf
|
f4ff276a90
refactoring: removed dead code (#18567)
|
3 anni fa |
Timothee Cour
|
3619a5a2aa
more informative error msg for undeclared field (`A(badfield: 1)` and `a.badfield = expr`) (#17777)
|
3 anni fa |
Timothee Cour
|
2951f89374
improve errmsg refs #17793 object ctor with generics (#17806)
|
3 anni fa |
Timothee Cour
|
8de053d870
fix `hintMsgOrigin` regression + simplify msgs code (#17805)
|
3 anni fa |
Clyybber
|
438afb4db9
Introduce localErrorNode (#17785)
|
3 anni fa |
Saem Ghani
|
c6dc9c0255
fixes #17437 - crash where error reporting > 1 (#17547)
|
3 anni fa |
Alexander Ivanov
|
672dc5cd87
Nil type check implementation (#15287)
|
4 anni fa |
Ivan Bobev
|
3c85aa9e53
Make `{.requiresInit.}` to work for distinct types (#15869)
|
4 anni fa |
Clyybber
|
13e659cfec
Big compiler Cleanup (#14777)
|
4 anni fa |
Andreas Rumpf
|
4ab6887a67
fixes #15111 (#15136)
|
4 anni fa |
Andreas Rumpf
|
da29222f86
init checks and 'out' parameters (#14521)
|
4 anni fa |
Zahary Karadjov
|
66f18037b3
Fix tests/types/tparameterizedparent0
|
4 anni fa |
Zahary Karadjov
|
be95f8fdfa
Turn some of the errors back into warnings
|
4 anni fa |
Zahary Karadjov
|
ce9a4ed124
Replace tfHasRequiresInit with a more accurate mechanism
|
4 anni fa |
Zahary Karadjov
|
7b7e42be54
More precise error messages for uninitialized fields in the presence of inheritance
|
4 anni fa |
Zahary Karadjov
|
1b570f2b18
Turn the warning for uninitialized (result) variables into errors
|
4 anni fa |
Zahary Karadjov
|
8ae48292ff
Plug another hole: default(T) forbidden for objects requiring initialization
|
4 anni fa |
Zahary Karadjov
|
05a0ec4adb
Don't allow 'var x: T' for objects that require initialization
|
4 anni fa |
Zahary Karadjov
|
7652aede41
More sophistication; Allow requiresInit to be specified per-field
|
4 anni fa |