Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allow generic typedesc field access (#12220) | Jasper Jenkins | 2020-04-20 | 1 | -57/+53 |
| | | | Co-authored-by: Clyybber <darkmine956@gmail.com> | ||||
* | fixes #12741 (#14005) | Andreas Rumpf | 2020-04-19 | 1 | -7/+9 |
| | | | | * fixes #12741 * updated tests | ||||
* | error msg for #13864 (#13962) | cooldome | 2020-04-13 | 1 | -0/+5 |
| | | | Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fix #13848: make var result work with nim cpp (#13959) | Timothee Cour | 2020-04-13 | 1 | -1/+5 |
| | | | | | * fix #13848 * add exhaustive tests for var result | ||||
* | fix ICE in isUnresolvedSym (#13925) | cooldome | 2020-04-08 | 1 | -5/+6 |
| | | | Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | Turn some of the errors back into warnings | Zahary Karadjov | 2020-04-01 | 1 | -14/+0 |
| | |||||
* | Replace tfHasRequiresInit with a more accurate mechanism | Zahary Karadjov | 2020-04-01 | 1 | -4/+10 |
| | | | | | | | | | 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 tests/parallel/tguard2.nim | Zahary Karadjov | 2020-04-01 | 1 | -1/+1 |
| | |||||
* | Fix https://github.com/nim-lang/Nim/issues/4907 | Zahary Karadjov | 2020-04-01 | 1 | -0/+3 |
| | |||||
* | Perform nil checks during object construction and within compiles() | Zahary Karadjov | 2020-04-01 | 1 | -1/+4 |
| | | | | 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/+2 |
| | |||||
* | Enable the requiresInit checks only for objects | Zahary Karadjov | 2020-04-01 | 1 | -1/+1 |
| | |||||
* | Plug another hole: default(T) forbidden for objects requiring initialization | Zahary Karadjov | 2020-04-01 | 1 | -0/+6 |
| | |||||
* | stacktraces can now show custom runtime msgs per frame (#13351) | Timothee Cour | 2020-03-30 | 1 | -0/+5 |
| | | | | | | | | * stacktraces can now show custom runtime msgs * improve tests/stdlib/tstackframes.nim * fix test for --gc:arc * test --stacktraceMsgs:on and --stacktraceMsgs:off * --stacktracemsgs:off by default | ||||
* | Continue bool conversion fixing (#13751) | cooldome | 2020-03-25 | 1 | -1/+3 |
| | | | | | | | | | * continue fixing #13744 * improve style * improve test Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | make 'nim check' more robust for illdefined constants | Araq | 2020-03-20 | 1 | -1/+1 |
| | |||||
* | fixes #13671 [backport] (#13678) | Andreas Rumpf | 2020-03-18 | 1 | -1/+1 |
| | |||||
* | fixes #13646 | Araq | 2020-03-16 | 1 | -3/+9 |
| | |||||
* | fix #8312 --hints:off and --warnings:off now honored everywhere (#13489) | Timothee Cour | 2020-02-26 | 1 | -1/+1 |
| | |||||
* | fix `is` with generic types; fix `genericHead(Foo[T])` (#13303) | Timothee Cour | 2020-02-09 | 1 | -1/+10 |
| | | | | | * fix #9855, fix #9855, fix genericHead * render TTypeKind via toHumanStr | ||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 1 | -7/+7 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | fixes #12945 (#12959) | cooldome | 2019-12-24 | 1 | -6/+6 |
| | |||||
* | ARC: cycle detector (#12823) | Andreas Rumpf | 2019-12-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish | ||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -387/+385 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix compiler crash caused by top level return (#12501) | Oscar Nihlgård | 2019-10-24 | 1 | -1/+1 |
| | |||||
* | refactoring: --newruntime consists of 3 different switches | Araq | 2019-10-20 | 1 | -1/+1 |
| | |||||
* | refactor illegal iterator assignment detection (#12212) | Arne Döring | 2019-10-11 | 1 | -2/+2 |
| | | | | | | * refactor illegal iterator assignment detection * delete crappy test | ||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | fixes #12224 (#12225) | cooldome | 2019-09-21 | 1 | -2/+2 |
| | | | | | | * fixes #12224 * improve test | ||||
* | better implementation | Araq | 2019-09-16 | 1 | -2/+8 |
| | |||||
* | fixes a weird quote do regression | Andreas Rumpf | 2019-09-16 | 1 | -1/+2 |
| | |||||
* | fixes #12171 (#12173) | Andreas Rumpf | 2019-09-11 | 1 | -1/+1 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -43/+43 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | fixes #12121 (#12126) | Andreas Rumpf | 2019-09-05 | 1 | -1/+0 |
| | |||||
* | make test green | Araq | 2019-09-02 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into uint-range-checks | Araq | 2019-09-02 | 1 | -9/+11 |
|\ | |||||
| * | Support iterators returning lent T (#11938) | cooldome | 2019-08-31 | 1 | -4/+4 |
| | | | | | | | | | | | | | | * lent iterators * rebase tests * update changelog * fix comments, more tests | ||||
| * | address the comments | narimiran | 2019-08-27 | 1 | -5/+2 |
| | | |||||
| * | Fix several float range issues | Oscar Nihlgård | 2019-08-27 | 1 | -0/+6 |
| | | |||||
| * | new gensym handling (#11985) | Andreas Rumpf | 2019-08-23 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package | ||||
| * | fixes #10854 | Andreas Rumpf | 2019-08-22 | 1 | -4/+2 |
| | | |||||
* | | squashed and merged with devel | Arne Döring | 2019-08-21 | 1 | -1/+1 |
|/ | |||||
* | merged #11813 manually [bugfix] | Andreas Rumpf | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | [refactoring] compiler: simplified markUsed | Andreas Rumpf | 2019-08-08 | 1 | -36/+36 |
| | |||||
* | fixes #11809 | Andreas Rumpf | 2019-08-08 | 1 | -15/+32 |
| | |||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -5/+5 |
| | | | | * fixes #11847 | ||||
* | revert changes | Andrii Riabushenko | 2019-07-25 | 1 | -2/+2 |
| | |||||
* | fixes #11826 | Andrii Riabushenko | 2019-07-25 | 1 | -2/+2 |
| | |||||
* | revert the bugfix for #11747 as it really was a new, poorly though-out feature | Araq | 2019-07-19 | 1 | -3/+0 |
| | |||||
* | Merge branch 'devel' into araq-detect-unused-imports | Andreas Rumpf | 2019-07-18 | 1 | -0/+3 |
|\ |