Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make test green for OSX | Andreas Rumpf | 2018-07-06 | 1 | -2/+5 |
| | |||||
* | make concepts tests green again | Andreas Rumpf | 2018-07-06 | 2 | -12/+12 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-07-05 | 13 | -17/+18 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-07-05 | 29 | -52/+56 |
| | |||||
* | turn destructors into finalizers | Andreas Rumpf | 2018-07-05 | 2 | -3/+25 |
| | |||||
* | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-04 | 7 | -3/+89 |
|\ | |||||
| * | Error out if vararg match isn't an exact one (#8186) | LemonBoy | 2018-07-03 | 1 | -0/+11 |
| | | | | | | Fixes #8172 | ||||
| * | Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178) | Vindaar | 2018-07-03 | 3 | -3/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix. | ||||
| * | Test case for #6281 (#8190) | genotrance | 2018-07-02 | 1 | -0/+9 |
| | | |||||
| * | Fix os.unixToNativePath proc returns wrong result(#8179) (#8181) | Tomohiro | 2018-07-02 | 1 | -0/+41 |
| | | | | | | | | | | | | * Fix os.unixToNativePath proc returns wrong result(#8179) * Add tests for unixToNativePath | ||||
| * | Fix crash with static and anonymous procs (#8171) | LemonBoy | 2018-07-02 | 1 | -0/+9 |
| | | | | | | Fixes #6077 | ||||
* | | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-01 | 6 | -2/+103 |
|\| | |||||
| * | Minor changes to discardable handling (#8155) | LemonBoy | 2018-07-01 | 1 | -0/+10 |
| | | |||||
| * | Fix use of custom pragmas in generic procs (#8165) | LemonBoy | 2018-07-01 | 1 | -1/+9 |
| | | | | | | Fixes #7626 | ||||
| * | Fix constant folding of len() with concept type (#8143) | LemonBoy | 2018-06-30 | 1 | -0/+12 |
| | | | | | | Fixes #7952 | ||||
| * | Fix vm regression (#8163) | Oscar Nihlgård | 2018-06-30 | 1 | -0/+13 |
| | | |||||
| * | Fixes #6689 (#8135) | Oscar Nihlgård | 2018-06-30 | 1 | -1/+16 |
| | | |||||
| * | Check the RHS when building a set (#8159) | LemonBoy | 2018-06-30 | 1 | -0/+6 |
| | | | | | | Fixes #2669 | ||||
| * | VM regression fixes (#8146) | Oscar Nihlgård | 2018-06-29 | 1 | -1/+31 |
| | | |||||
| * | Fix codegen for mInSet magic and empty sets (#8140) | LemonBoy | 2018-06-29 | 1 | -0/+7 |
| | | | | | | Fixes #8041 | ||||
* | | system.nim: remove deprecated symbols | Andreas Rumpf | 2018-06-28 | 2 | -18/+2 |
|/ | |||||
* | Fix template codegen with static parameters (#8110) | LemonBoy | 2018-06-27 | 1 | -1/+5 |
| | | | | | | | | * Fix template codegen with static parameters Fixes #7477 * Move the test case to tstaticimportcpp | ||||
* | Return an error symbol as macro output if needed (#8116) | LemonBoy | 2018-06-27 | 1 | -0/+8 |
| | | | | | | Return an error symbol if the macro output has no type and a typedesc is expected. Fixes #7454 | ||||
* | Reject ptr/ref void types (#8127) | LemonBoy | 2018-06-27 | 1 | -0/+7 |
| | | | | | Do this during the semantic pass to avoid tripping the following passes. Fixes #6454 | ||||
* | Reject enums with holes when computedGoto is used (#8132) | LemonBoy | 2018-06-27 | 1 | -0/+15 |
| | | | Fixes #7699 | ||||
* | Don't consider concept types as non-complex during codegen (#8119) | LemonBoy | 2018-06-27 | 1 | -1/+14 |
| | | | Fixes #7125 | ||||
* | Lexer: do not accept some invalid integer literals (#8089) | Hiroki Noda | 2018-06-27 | 2 | -0/+14 |
| | | | | | | * Lexer: do not accept some invalid integer literals * Use Natural instead of uint, and result variable | ||||
* | Merge pull request #7736 from cooldome/range_float_type | Andreas Rumpf | 2018-06-27 | 1 | -0/+49 |
|\ | | | | | Language feature: range float types | ||||
| * | merge devel | cooldome | 2018-06-12 | 11 | -28/+317 |
| |\ | |||||
| * \ | merge devel | cooldome | 2018-06-10 | 86 | -642/+1817 |
| |\ \ | |||||
| * \ \ | Merge branch 'devel' into range_float_type | cooldome | 2018-04-30 | 10 | -1781/+10 |
| |\ \ \ | |||||
| * \ \ \ | merge devel | cooldome | 2018-04-29 | 8 | -8/+192 |
| |\ \ \ \ | |||||
| * | | | | | update test | cooldome | 2018-04-29 | 1 | -1/+13 |
| | | | | | | |||||
| * | | | | | Add a test | cooldome | 2018-04-29 | 1 | -0/+37 |
| | | | | | | |||||
* | | | | | | Merge pull request #7681 from nim-lang/typedesc-reforms | Andreas Rumpf | 2018-06-26 | 14 | -22/+1021 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Typedesc reforms | ||||
| * \ \ \ \ \ | Merge branch 'devel' into typedesc-reforms | Andreas Rumpf | 2018-06-26 | 17 | -2/+877 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | allow referencing other parameters in default parameter values | Zahary Karadjov | 2018-06-16 | 1 | -0/+114 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #7756 fix #1201 fix #7000 fix #3002 fix #1046 | ||||
| * | | | | | | | fix #6928; fix #7208 | Zahary Karadjov | 2018-06-16 | 1 | -0/+21 |
| | | | | | | | | |||||
| * | | | | | | | Support default type parameters | Zahary Karadjov | 2018-06-16 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | progress on #7516 | ||||
| * | | | | | | | fixes #7222; fixes #5595; fixes #3747 | Zahary Karadjov | 2018-06-16 | 4 | -0/+169 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | | | | | | Implement the `is` operator for the new static and typedesc type classes | Zahary Karadjov | 2018-06-16 | 6 | -30/+141 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also makes the first baby steps towards a sound treatment of higher-order kinds (type type int). Adds test cases showcasing the new features. * Also fixes breakage after the rebase | ||||
| * | | | | | | | Bugfix: the size of an array may be a static tuple element | Zahary Karadjov | 2018-06-16 | 1 | -7/+33 |
| | | | | | | | | |||||
| * | | | | | | | Bugfix: aliases to generic types were not considered implicit generic parameters | Zahary Karadjov | 2018-06-16 | 1 | -0/+17 |
| | | | | | | | | |||||
| * | | | | | | | A minimal patch enabling the new typedesc and static types syntax | Zahary Karadjov | 2018-06-16 | 2 | -54/+100 |
| | | | | | | | | |||||
| * | | | | | | | Starting test recording the current state of the parser | Zahary Karadjov | 2018-06-16 | 1 | -0/+481 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the next commit, I'll introduce changes to the parser bringing consistent handling of all type modifiers (ref, ptr, var, static and type). The goal of this commit is to record precisely what is going to be changed (i.e. by allowing you to look at the diff). To preserve the diff, please don't squash upon merging. | ||||
* | | | | | | | | Merge pull request #8108 from LemonBoy/fix-5958 | Andreas Rumpf | 2018-06-26 | 4 | -15/+21 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Make `static` blocks introduce their own scope | ||||
| * | | | | | | | | Adjust some tests to make them pass | LemonBoy | 2018-06-25 | 3 | -15/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-scoped behaviour of static blocks was exploited by those tests, replace all the variables declared whithin one with compileTime marked ones. | ||||
| * | | | | | | | | Make `static` blocks introduce their own scope | LemonBoy | 2018-06-24 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958 | ||||
* | | | | | | | | | Improve vm support for ref types | Oscar Nihlgård | 2018-06-26 | 2 | -1/+53 |
| |_|/ / / / / / |/| | | | | | | | |||||
* | | | | | | | | More concept fixes | LemonBoy | 2018-06-24 | 1 | -0/+31 |
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | Fixes #7705, #7703, #7702 |