Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gc: destructors is beginning to work (#10483) | Andreas Rumpf | 2019-01-29 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | * kochdocs.nim: code cleanup * docgen: nicer indentation * parser.nim: code cleanup * fixes #10458 * make tests green again * make =destroy mixins * gc:destructors: produced C code is almost working * --gc:destructors simple program compiles (but leaks memory) * gc:destructors make examples compile in C++ mode * destructors: string implementation bugfixes * strs.nim: minor code cleanup * destructors: builtin seqs are beginning to work * remove debugging helpers | ||||
* | Restrict ptr/ref to ptr/ref implicit conversion (#10411) | LemonBoy | 2019-01-22 | 1 | -1/+1 |
| | | | | | | | | * Restrict ptr/ref to ptr/ref implicit conversion Fixes #10409 * Make the ptr conversions explicit in db_odbc | ||||
* | Fix subtype conversion w/ varargs arguments (#10402) | LemonBoy | 2019-01-21 | 1 | -2/+3 |
| | | | | | | | | | The type matching is done on the `T` of the `varargs[T]` so the conversion must be performed to `T` and not to the whole type. This problem is only noticeable with the cpp backend since C doesn't give a damn shit about your fucking (wrong) types. Fixes #9845 | ||||
* | fixes #10075 [backport] | Araq | 2019-01-13 | 1 | -2/+1 |
| | |||||
* | C++: make async tests green on Windows | Araq | 2018-12-21 | 1 | -5/+5 |
| | |||||
* | More converter fixes (#9737) | cooldome | 2018-11-26 | 1 | -5/+13 |
| | | | | | | * fixes #9735 * fixes #9736 * fixes #3503 | ||||
* | Fixes multiple bugs with sink arguments (#9802) | cooldome | 2018-11-26 | 1 | -4/+4 |
| | | | | | | * fixes #9781 * fix spacing | ||||
* | Converter bug fixes (#9700) | cooldome | 2018-11-15 | 1 | -2/+8 |
| | | | | | * Fixes #9698 * Fixes #9699 | ||||
* | added first version of a nimfind tool for the poor souls that don't have a ↵ | Andreas Rumpf | 2018-11-14 | 1 | -2/+2 |
| | | | | good nimsuggest integretation | ||||
* | make Nim take roughly 100MB less RAM for bootstrapping via a new compiler ↵ | Andreas Rumpf | 2018-11-07 | 1 | -1/+1 |
| | | | | switch -d:leanCompiler; useful for the Raberry PI | ||||
* | compiler cleanup: flag tfOldSchoolExprStmt is gone | Araq | 2018-11-06 | 1 | -6/+3 |
| | |||||
* | Fixes 6544 (#9427) | LemonBoy | 2018-10-19 | 1 | -0/+10 |
| | | | | | | | | | | * Fix call to converters with var/lent args Fixes #6544 * Fix printing of lent types * lent is only valid for result types | ||||
* | replace deprecated `safeAdd` with `add` (#9416) | Miran | 2018-10-18 | 1 | -4/+4 |
| | |||||
* | implement sizeof and alignof operator (manually squashed #5664) (#9356) | Timothee Cour | 2018-10-14 | 1 | -1/+0 |
| | |||||
* | Unchecked arrays now have their own type (#9267) | LemonBoy | 2018-10-10 | 1 | -1/+8 |
| | |||||
* | Prevent the construction of recursive tyStatic types (#9256) | LemonBoy | 2018-10-09 | 1 | -4/+7 |
| | | | Fixes #9255 | ||||
* | fixes #4435 (#9185) | jcosborn | 2018-10-09 | 1 | -1/+1 |
| | |||||
* | fixes #7351 | Araq | 2018-10-02 | 1 | -1/+3 |
| | |||||
* | fixes #8043 | Araq | 2018-09-03 | 1 | -0/+3 |
| | |||||
* | Do not materialize empty varargs[untyped] arrays (#8715) | LemonBoy | 2018-08-31 | 1 | -6/+17 |
| | | | | | | | | | When an empty nkArgList `varargs[untyped]` is passed around it is now reused for efficiency sake and to prevent the introduction of a spurious element: before this commit we'd pass the caller a nkArgList[nkHiddenStdConv[nkBracket]] node instead of just an empty nkArgList. Fixes #8706 | ||||
* | introduce precise string '[]', '[]=' accessors; fixes #8049 (#8817) | Andreas Rumpf | 2018-08-30 | 1 | -0/+9 |
| | |||||
* | fixes #7854 | Araq | 2018-08-30 | 1 | -1/+2 |
| | |||||
* | Fix #8126 (#8712) | zah | 2018-08-21 | 1 | -1/+2 |
| | | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release. | ||||
* | changes how the now illegal 'string == nil' comparison is detected | Andreas Rumpf | 2018-08-15 | 1 | -6/+2 |
| | |||||
* | Merge branch 'devel' into araq-misc | Araq | 2018-08-13 | 1 | -0/+4 |
|\ | |||||
| * | Converters to take into account constraints. Fixes #7520 (#8593) | cooldome | 2018-08-13 | 1 | -0/+4 |
| | | |||||
* | | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -6/+16 |
|/ | |||||
* | fixes #6255, add `system.ashr` arithmetic right shift (#8547) | andri lim | 2018-08-07 | 1 | -0/+4 |
| | |||||
* | sigmatch: no trailing whitespace | Andreas Rumpf | 2018-07-17 | 1 | -5/+5 |
| | |||||
* | Do not crash while instantiating a generic outside a call (#8279) | LemonBoy | 2018-07-14 | 1 | -1/+4 |
| | | | Fixes #8270 | ||||
* | Handle subtype relations for converter parameters (#8248) | LemonBoy | 2018-07-09 | 1 | -2/+7 |
| | | | Fixes #7098 | ||||
* | Reset typedescMatched before paramTypesMatch (#8250) | LemonBoy | 2018-07-09 | 1 | -0/+3 |
| | | | | | The flag should not be carried out across different parameters. Fixes #7794 | ||||
* | Fix comparison of tyGenericBody in typerel (#8045) | LemonBoy | 2018-07-07 | 1 | -1/+1 |
| | | | | | | As shown in #7734 and #7733 the logic in typerel fails to determine that `type Foo` and `type Foo` are indeed equal. Fixes #7734 | ||||
* | Error out if vararg match isn't an exact one (#8186) | LemonBoy | 2018-07-03 | 1 | -1/+11 |
| | | | Fixes #8172 | ||||
* | Merge pull request #7736 from cooldome/range_float_type | Andreas Rumpf | 2018-06-27 | 1 | -14/+16 |
|\ | | | | | Language feature: range float types | ||||
| * | manual merge 2 | cooldome | 2018-06-12 | 1 | -1/+1 |
| | | |||||
| * | merge devel | cooldome | 2018-06-12 | 1 | -27/+38 |
| |\ | |||||
| * | | style fixes, typos | cooldome | 2018-06-12 | 1 | -5/+5 |
| | | | |||||
| * | | remove underscores | cooldome | 2018-06-11 | 1 | -5/+5 |
| | | | |||||
| * | | fix comments | cooldome | 2018-06-10 | 1 | -16/+11 |
| | | | |||||
| * | | merge devel | cooldome | 2018-06-10 | 1 | -49/+63 |
| |\ \ | |||||
| * \ \ | merge devel | cooldome | 2018-04-29 | 1 | -7/+19 |
| |\ \ \ | |||||
| * | | | | Implement float range types | cooldome | 2018-04-26 | 1 | -13/+20 |
| | | | | | |||||
* | | | | | requested pull-request changes | Zahary Karadjov | 2018-06-16 | 1 | -10/+10 |
| | | | | | |||||
* | | | | | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
* | | | | | fixes #7222; fixes #5595; fixes #3747 | Zahary Karadjov | 2018-06-16 | 1 | -5/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr | ||||
* | | | | | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 1 | -5/+9 |
| | | | | | |||||
* | | | | | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 1 | -1/+1 |
| |_|_|/ |/| | | | | | | | | | | | conventions outlined in NEP-1 | ||||
* | | | | Merge pull request #7981 from cooldome/Fix_-7980 | Andreas Rumpf | 2018-06-12 | 1 | -2/+6 |
|\ \ \ \ | | | | | | | | | | | Fixes 7980 | ||||
| * | | | | style improvements | cooldome | 2018-06-12 | 1 | -2/+2 |
| | | | | |