summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Big compiler Cleanup (#14777)Clyybber2020-08-2850-773/+472
|
* fix #15035 (#15236)cooldome2020-08-281-2/+3
|
* Fix #5691 (#15158)Clyybber2020-08-279-49/+65
| | | | | | | | * Fix #5691 * Cleanup and thoughts * Use scope approach * Seperate defined/declared/declaredInScope magics * Fix declaredInScope * Update spec accordingly
* fix some issues overloading with generics and inheritance (#15211)jcosborn2020-08-271-11/+34
| | | | | * fix some issues overloading with generics and inheritance * fix passing procs with subtype matches
* deleted dead code, writetracking.nim was replaced by varpartitions.nimAraq2020-08-261-275/+0
|
* avoid #8231, bitwise move to mul,div (#15070)Bung2020-08-251-2/+10
| | | | | | | | | * avoid #8231, bitwise move to mul,div * add test for #8231 * fix bitwise move when div result is float * bitwise move depends on typ.size
* better strict funcs, WIP (#15199)Andreas Rumpf2020-08-182-6/+22
| | | | | * better strict funcs, WIP * progress
* fix overloading issue with generic invocation (#15135)jcosborn2020-08-181-14/+1
| | | | | * fix overloading issue with generic alias * add test for inheritance depth
* Allow pragmas on parameters (#15178)Clyybber2020-08-111-2/+2
|
* Fix #8473 (#15169)Andreas Rumpf2020-08-1112-24/+30
|\ | | | | | | | | | | | | | | | | | | | | * Make explicit {.nimcall.} a seperate calling convention * Add testcase for #5688 * Fix bootstrapping * Remove little lies :) * Use typeflag instead
| * Use typeflag insteadClyybber2020-08-1010-18/+19
| |
| * Remove little lies :)Clyybber2020-08-081-5/+6
| |
| * Fix bootstrappingClyybber2020-08-081-3/+4
| |
| * Make explicit {.nimcall.} a seperate calling conventionClyybber2020-08-0810-16/+19
| |
* | fixes #15101 [backport] (#15171)Andreas Rumpf2020-08-081-3/+2
|/
* implement (#15153)cooldome2020-08-041-1/+1
|
* fixes a collect() bug reported on the forum (#15156) [backport:1.2]Andreas Rumpf2020-08-042-2/+2
|
* fixes #15129 [backport:1.2] (#15144)Andreas Rumpf2020-08-011-1/+1
|
* fixes #15130 (#15141)Andreas Rumpf2020-08-012-2/+6
| | | | | * fixes #15130 * you really have to copy from cursors
* fixes #15122 [backport:1.2] (#15139)Andreas Rumpf2020-08-011-0/+1
|
* fixes #15111 (#15136)Andreas Rumpf2020-08-015-24/+32
|
* fixes #15071 [backport] (#15131)Andreas Rumpf2020-07-311-3/+3
|
* fixes #15112 (#15124)Andreas Rumpf2020-07-301-8/+12
|
* cursor and mutation tracking fixes (#15113)Andreas Rumpf2020-07-306-363/+252
| | | | | | | | * fixes #15110 * fixes #15096 * prepare varpartitions for cursor inference * new cursor inference begins to work * make tests green
* fix overloading case with generic alias (#15116)jcosborn2020-07-301-1/+1
| | | | | * fix overloading case with generic alias * revert reorganization of tests
* Fix forward declaration issues in template/macro context (#15091)Clyybber2020-07-2913-93/+27
| | | | | | | | | | | | | | | | | | | | | | | * Fix forward declaration issues in template/macro context * Correct forward declaration resolving for overloads * Remove old dead code * WIP consistent gensym ids * Minimize diff * Remove obsoleted hack * Add templInstCounter to give unique IDs to template instantiations * Remove obsoleted code * Eh, init in myOpen, not myProcess... * Remove optNimV019 * Add testcase for #13484
* fixes #14616 [backport:1.2] (#15109)Andreas Rumpf2020-07-291-0/+4
|
* disable sink inference, only enable it for the stdlib. Reason: better source ↵Andreas Rumpf2020-07-281-1/+1
| | | | code compatibility (#15105)
* fixes #15076 (#15095)Andreas Rumpf2020-07-273-28/+36
|
* fix #14698 nkRecWhen caused internalAssert in semConstructFields when ↵Timothee Cour2020-07-271-1/+4
| | | | | | | | | | | generic type not mentioned in fields (#14709) * fix #14698 nkRecWhen caused internalAssert in semConstructFields when generic type not mentioned in fields * address comment * Update compiler/semtypinst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #11354 jsgen not carefully handle genAddr with nkHiddenAddr,nkStm… ↵Bung2020-07-271-1/+10
| | | | | | | | | | | | | | | | | | | (#15078) * fix #11354 jsgen not carefully handle genAddr with nkHiddenAddr,nkStmtListExpr; genAsgn with lvalue tyVar and rvalue tyPtr * correct logic * add test for #11354 * handle nkHiddenAddr when n.len == 1 * Update compiler/jsgen.nim * Update compiler/jsgen.nim * Apply suggestions from code review Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fixes #14189 (#15080) [backport]Bung2020-07-271-2/+2
|
* fixes a closure iterator memory leaks, progress on #15076Araq2020-07-271-1/+1
|
* compiler: minor code cleanupsAraq2020-07-274-5/+4
|
* fixes #15038 [backport:1.2]Andreas Rumpf2020-07-262-46/+3
|
* fixes #15052Andreas Rumpf2020-07-261-0/+11
|
* strict func: much better error messages (#15068)Andreas Rumpf2020-07-252-35/+76
| | | | | * strict func: much better error messages * documented the 'strict funcs' mode
* writing to a location counts as "side effect"; implements ↵Andreas Rumpf2020-07-254-5/+252
| | | | https://github.com/nim-lang/RFCs/issues/234 (#15030)
* fix #14684 (#15059)Bung2020-07-251-0/+2
|
* fix #14534 (#15060) [backport]Bung2020-07-251-1/+1
|
* fix assignment to converted concept type (#15051)jcosborn2020-07-241-0/+4
| | | | | | | * fix assignment to converted concept type * check for resolved concepts * add extra test
* fixes #15056 [backport]Araq2020-07-241-2/+6
|
* fixes #15036Andreas Rumpf2020-07-232-3/+2
|
* fixes #15044 [backport:1.2]Andreas Rumpf2020-07-231-3/+5
|
* fixes #15026 [backport] (#15040)Andreas Rumpf2020-07-221-1/+1
| | | no test case since only a special case was affected and the special case got removed
* ARC: optimize the code better when --panics:off (#15031)Andreas Rumpf2020-07-211-18/+24
|
* cursor inference bugfixAndreas Rumpf2020-07-201-2/+3
|
* hotfix: firstOrd/lastOrd for 'tyLent' as it shows up in strange places, as usualAndreas Rumpf2020-07-201-2/+2
|
* fixes #14194 (#15023)Andreas Rumpf2020-07-201-1/+2
|
* 'isolate' builtin; refs https://github.com/nim-lang/RFCs/issues/244 (#15011)Andreas Rumpf2020-07-207-6/+127
|