Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improved comment satement support in macros (#5904) | Arne Döring | 2017-06-02 | 2 | -1/+2 |
| | |||||
* | fix right shift c codegen bug. (#5919) | Parashurama | 2017-05-31 | 1 | -3/+4 |
| | | | | | | * fix right shift c codegen bug. signed int must first be cast as unsigned before converting to larger integer. The C compiler will auto convert operands to the largest type. | ||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-05-31 | 1 | -0/+2 |
|\ | |||||
| * | Creating and setting comment nodes in macros (#5850) | Fredrik Høisæther Rasch | 2017-05-31 | 1 | -0/+2 |
| | | | | | | | | | | | | | | * strVal assingnable comment statement ast nodes * Set comment instead of strVal for comment nodes * Added test code for creating and setting comment nodes * Modified the AST spec documentation for documentation comments | ||||
* | | improve confusing error messages for failed overloading resolution when ↵ | Araq | 2017-05-31 | 1 | -1/+7 |
|/ | | | | deref of first arg failed | ||||
* | a few tiny cleanups (#5712) | Jacek Sieka | 2017-05-29 | 4 | -30/+12 |
| | | | exposes emitLazily (for nlvm) and simplifies some conditionals | ||||
* | Merge pull request #5823 from markus-oberhumer/ascii127-is-not-printable | Varriount | 2017-05-26 | 2 | -2/+2 |
|\ | | | | | Ascii character code 127 (DEL) is not printable. | ||||
| * | Ascii character code 127 (DEL) is not printable. | Markus F.X.J. Oberhumer | 2017-05-16 | 2 | -2/+2 |
| | | |||||
* | | niminst: add missing nimsuggest tool; small koch.nim cleanup | Araq | 2017-05-17 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'araq2' into devel | Araq | 2017-05-17 | 23 | -313/+656 |
|\ \ | |||||
| * | | cleanup of in/out covariance handling | Andreas Rumpf | 2017-05-17 | 5 | -35/+32 |
| | | | |||||
| * | | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-17 | 14 | -78/+293 |
| |\ \ | |||||
| | * | | fix affecting templates with explicit generic params | Zahary Karadjov | 2017-05-13 | 2 | -28/+8 |
| | | | | |||||
| | * | | fix tinvalidinout | Zahary Karadjov | 2017-05-13 | 1 | -3/+0 |
| | | | | |||||
| | * | | work-around for defining imported types with weak covariance | Zahary Karadjov | 2017-05-13 | 1 | -0/+16 |
| | | | | |||||
| | * | | enforce the covariance rules for user-defined generic types | Zahary Karadjov | 2017-05-13 | 5 | -17/+105 |
| | | | | |||||
| | * | | covariance for arrays and sequences | Zahary Karadjov | 2017-05-12 | 1 | -12/+40 |
| | | | | |||||
| | * | | doh, forgot to add all files in the previous commit | Zahary Karadjov | 2017-05-12 | 4 | -15/+65 |
| | | | | |||||
| | * | | support for external types with covariant generic params | Zahary Karadjov | 2017-05-08 | 6 | -3/+34 |
| | | | | |||||
| | * | | fix 5756 | Zahary Karadjov | 2017-04-30 | 1 | -1/+1 |
| | | | | |||||
| | * | | a simple way to simulate covariance in generic types | Zahary Karadjov | 2017-04-28 | 1 | -1/+6 |
| | | | | |||||
| | * | | Allow tyOr,tyAnd and tyNot to be constructed in more contexts | Zahary Karadjov | 2017-04-28 | 2 | -16/+36 |
| | | | | |||||
| * | | | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-16 | 17 | -240/+371 |
| |\| | | | |/ | |/| | |||||
| | * | fix a regrsesion in signature matching of derived ptr types | Zahary Karadjov | 2017-04-18 | 1 | -3/+5 |
| | | | |||||
| | * | Restore the compilation of linalg by tweaking the complex disambiguation rules | Zahary Karadjov | 2017-04-16 | 1 | -10/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is a potentially breaking change, but the problem was that linalg was relying on a previous bug in the compiler, which was fixed in the concepts branch. With the old disambiguation rules, generic procs like: proc \`==\`[T](lhs, rhs: T) and proc \`==\`(lhs, rhs: Matrix32|Matrix64) .. were considered equal, even though it's obvious that the second one should be preferred. We never noticed this, because there was a bug in sigmatch incorrectly counting one of the params of the second proc as a non-generic match, thus giving it an edge. This commit gives some preference to tyOr and tyAnd during the complex disambiguation, which may affect overload resolution in other cases. I see this only as a temporary solution. With my upcoming work on concept refinement, I plan to provide an experimental implementation of alaternative C++-like rules for determining which proc is more specific. We can then discuss our strategy for dealing with such a breaking change. | ||||
| | * | fix regression in tmatrixconcept | Zahary Karadjov | 2017-04-16 | 1 | -0/+4 |
| | | | |||||
| | * | fix compilation regression in alea | Zahary Karadjov | 2017-04-16 | 3 | -12/+4 |
| | | | |||||
| | * | fix a compilation error in linalg | Zahary Karadjov | 2017-04-16 | 1 | -25/+23 |
| | | | |||||
| | * | fix #5689 | Zahary Karadjov | 2017-04-15 | 2 | -10/+13 |
| | | | |||||
| | * | fix #5683 | Zahary Karadjov | 2017-04-14 | 2 | -6/+10 |
| | | | |||||
| | * | fix a parsing regression (do is still mandatory in some situations) | Zahary Karadjov | 2017-04-14 | 1 | -1/+4 |
| | | | |||||
| | * | wip | Zahary Karadjov | 2017-04-11 | 1 | -4/+5 |
| | | | |||||
| | * | lift parameter-less do block to lambdas | Zahary Karadjov | 2017-04-10 | 6 | -15/+27 |
| | | | |||||
| | * | support post expression blocks in return and yield | Zahary Karadjov | 2017-04-10 | 1 | -1/+3 |
| | | | |||||
| | * | fix a regression in tlexerex | Zahary Karadjov | 2017-04-10 | 1 | -13/+14 |
| | | | |||||
| | * | adapt quote to the new parsing rules | Zahary Karadjov | 2017-04-10 | 1 | -8/+11 |
| | | | |||||
| | * | fix a parsing regression (calls with do inside param lists) | Zahary Karadjov | 2017-04-10 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | This treatment is applied only when "do" is used, because the code foo(x: bar) is recognized as object construction. | ||||
| | * | fully consisent parsing between the new and the old 'do blocks' | Zahary Karadjov | 2017-04-10 | 1 | -78/+67 |
| | | | |||||
| | * | the new blocks without 'do' produce compatible AST with 'do blocks' | Zahary Karadjov | 2017-04-09 | 1 | -4/+4 |
| | | | |||||
| | * | fix the do notation when used with procs | Zahary Karadjov | 2017-04-09 | 6 | -11/+12 |
| | | | |||||
| | * | fix #5643; fix #5644 | Zahary Karadjov | 2017-04-08 | 3 | -7/+12 |
| | | | |||||
| | * | Restore the Nim's 0.14 proper handling of generic aliases | Zahary Karadjov | 2017-04-08 | 8 | -55/+135 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A more efficient implementation is possible by restoring the old lifting ot tyGenericInvocation to tyGenericInst in liftTypeParam, but this fix will suffice for now. fixes #5087 fixes #5602 fixes #5641 fixes #5570 | ||||
| | * | fix #5658 | Zahary Karadjov | 2017-04-07 | 2 | -4/+14 |
| | | | |||||
| | * | fix #5654 | Zahary Karadjov | 2017-04-07 | 2 | -2/+5 |
| | | | |||||
| | * | fix #5642 | Zahary Karadjov | 2017-04-07 | 3 | -3/+6 |
| | | | |||||
| | * | fix #5648 | Zahary Karadjov | 2017-04-07 | 1 | -2/+4 |
| | | | |||||
| | * | wip fix #5640 | Zahary Karadjov | 2017-04-07 | 2 | -1/+3 |
| | | | |||||
* | | | Fixes #5821 (float32 literal comparison issue) (#5825) | Dominik Picheta | 2017-05-17 | 2 | -4/+6 |
| | | | | | | | | | | | | * Remove processing hints for async procs. * Fixes #5821. | ||||
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-05-16 | 2 | -4/+7 |
|\ \ \ | |||||
| * | | | Async macro fixes (#5739) | Yuriy Glukhov | 2017-05-16 | 1 | -0/+3 |
| | | | |