summary refs log tree commit diff stats
path: root/compiler/semstmts.nim
Commit message (Collapse)AuthorAgeFilesLines
* make case-object transitions explicit, make unknownLineInfo a const, replace ↵Jasper Jenkins2020-01-171-9/+9
| | | | a few magic numbers with consts (#13170)
* fixes #13112 (#13127)Andreas Rumpf2020-01-131-0/+9
| | | | | | * improve line error information * fixes #13112
* fixes a bug that kept sugar.collect from working with for loop macros [backport]Araq2019-12-241-10/+11
|
* case coverage error message for `char` (#12948)Jasper Jenkins2019-12-221-1/+1
|
* Better case coverage error message for alias and range enum (#12913)Jasper Jenkins2019-12-181-3/+3
|
* ARC: cycle detector (#12823)Andreas Rumpf2019-12-171-34/+46
| | | | | | | | | | | | | * 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
* Assigning template to var/let/const gives a proper error (#12851)Neelesh Chandola2019-12-091-5/+9
| | | | | | * Assigning template to var/let/const gives a proper error * Fix style
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-343/+336
| | | | | | | | | | | | | | | | | | * 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
* bugfix that enables the 'since' template [backport]Andreas Rumpf2019-11-071-2/+7
|
* some progress on bug #12443Andreas Rumpf2019-10-271-23/+25
|
* refactoring: --newruntime consists of 3 different switchesAraq2019-10-201-3/+3
|
* refactor illegal iterator assignment detection (#12212)Arne Döring2019-10-111-11/+1
| | | | | | * refactor illegal iterator assignment detection * delete crappy test
* Fixes #10514 (#12268)Clyybber2019-09-281-7/+7
| | | | | | | | | | * Fixes #10514 (cherry picked from commit f6f789bb4db2a367384ba6ad75706edd503de1f8) * Add comment * Add changelog entry
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-33/+33
| | | | | * Remove sonsLen * Use Indexable
* Merge pull request #12099 from cooldome/destructor_too_lateAndreas Rumpf2019-08-311-2/+6
|\ | | | | fixes #12092
| * support forward declared destructorsAndrii Riabushenko2019-08-311-2/+6
| |
| * fixes #12092Andrii Riabushenko2019-08-311-2/+2
| |
* | Support iterators returning lent T (#11938)cooldome2019-08-311-16/+43
|/ | | | | | | * lent iterators * rebase tests * update changelog * fix comments, more tests
* fixes #12042 (#12083)Andreas Rumpf2019-08-291-1/+1
| | | | | | * fixes #12042 * make tests green again
* fixes 5870 (#11704)Andreas Rumpf2019-08-291-1/+1
| | | | | | * fixes #5870 * make tclosure test green again * this check is correct but breaks some Nimble packages
* address the commentsnarimiran2019-08-271-2/+1
|
* Fix several float range issuesOscar Nihlgård2019-08-271-0/+3
|
* fixes #12033 (#12039)Arne Döring2019-08-261-0/+4
|
* fixes #11872; include now gives a proper error message for all invalid infix ↵nc-x2019-08-171-0/+2
| | | | operators (#11965)
* [refactoring] compiler: simplified markUsedAndreas Rumpf2019-08-081-1/+1
|
* revert changesAndrii Riabushenko2019-07-251-6/+6
|
* fixes #11826Andrii Riabushenko2019-07-251-6/+6
|
* [feature] detect unused importsAraq2019-07-171-1/+1
|
* there is only one style -- my styleAraq2019-07-101-9/+9
|
* fixes linter regressionsAraq2019-07-101-0/+1
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-5/+5
| | | | --styleCheck:error
* improved the error message for #11494; closes #11494Andreas Rumpf2019-07-061-2/+2
|
* introduce internal Int128 type, use it to fix case stmt checks (#11652)Arne Döring2019-07-051-1/+1
| | | | | | * initial version of int128 * use int128 in case stmt * fixes #11552
* fixes #8405: -d:useNimRtl now works even when {.rtl.} procs are used at ↵Timothee Cour2019-07-031-9/+9
| | | | compile time; CTFFI now works with {dynlib} (#11635)
* [refactor] compiler/[msgs, reorder, semstmts]: use toMsgFilename where ↵alaviss2019-06-261-2/+2
| | | | | | | | appropriate (#11595) * compiler/msgs: toMsgFilename now operates on FileIndex * compiler/reorder: use toMsgFilename for compiler messages * compiler/semstmts: respect listFullPaths for recursive deps error
* [bugfix] fixes #11556Andreas Rumpf2019-06-211-2/+4
|
* [refactoring] liftdestructors is now a module of its ownAraq2019-06-121-1/+1
|
* pass typedesc as NimNode to macros (#11400)Arne Döring2019-06-051-5/+1
| | | | | | | | * change typedesc's design in macros * Manual and changelog entry. * add link to RFC
* fixes #6777 (#11347)Andreas Rumpf2019-05-281-2/+1
|
* Smarter variant object construction (#11273)Jasper Jenkins2019-05-261-0/+3
|
* fixes #10038; deprecate generic methods, they are unreliableAndreas Rumpf2019-05-251-2/+3
|
* Allow void macro result (#11286)Arne Döring2019-05-211-10/+9
| | | | | * allow void macro result * add test for void macro result type
* More specific error message for unsupported recursion in iterators (#11283)Ico Doornekamp2019-05-201-0/+1
|
* fix for return in macro (#9666); fixes #5874Arne Döring2019-05-201-1/+9
|
* range/case fixes (#11264)Jasper Jenkins2019-05-161-3/+7
|
* Iterator fixes (#11234)Jasper Jenkins2019-05-131-13/+24
|
* rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)Arne Döring2019-05-111-6/+6
|
* Merge pull request #11159 from JasperJenkins/const-named-tuple-unpackAndreas Rumpf2019-05-081-1/+2
|\ | | | | Const named tuple unpacking
| * handle in semConstJasper Jenkins2019-05-051-1/+2
| |
* | Replace countup(x, y) with x .. yClyybber2019-05-071-5/+5
| |