Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-16 | 39 | -261/+1472 |
|\ | |||||
| * | fix a regrsesion in signature matching of derived ptr types | Zahary Karadjov | 2017-04-18 | 2 | -3/+25 |
| | | |||||
| * | 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 |
| | | |||||
| * | more sophisticated test for the previous commit | Zahary Karadjov | 2017-04-16 | 1 | -2/+22 |
| | | |||||
| * | fix compilation regression in alea | Zahary Karadjov | 2017-04-16 | 4 | -12/+37 |
| | | |||||
| * | fix a compilation error in linalg | Zahary Karadjov | 2017-04-16 | 2 | -25/+39 |
| | | |||||
| * | fix #5689 | Zahary Karadjov | 2017-04-15 | 4 | -11/+82 |
| | | |||||
| * | fix #5683 | Zahary Karadjov | 2017-04-14 | 3 | -6/+25 |
| | | |||||
| * | fix a parsing regression (do is still mandatory in some situations) | Zahary Karadjov | 2017-04-14 | 2 | -1/+20 |
| | | |||||
| * | allow StmtLists to pass through semExprWithType | Zahary Karadjov | 2017-04-11 | 2 | -5/+8 |
| | | | | | | | | | | | | This fix was necessary in order to fix the lambda lifting used in the "jsffi" module, which relies on turning nkStmtList into nkLambda in a catch-all dot operator. | ||||
| * | wip | Zahary Karadjov | 2017-04-11 | 1 | -4/+5 |
| | | |||||
| * | lift parameter-less do block to lambdas | Zahary Karadjov | 2017-04-10 | 10 | -26/+46 |
| | | |||||
| * | support post expression blocks in return and yield | Zahary Karadjov | 2017-04-10 | 2 | -3/+4 |
| | | |||||
| * | fix a regression in tlexerex | Zahary Karadjov | 2017-04-10 | 2 | -16/+16 |
| | | |||||
| * | 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 | 2 | -2/+24 |
| | | | | | | | | | | 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 | 2 | -78/+545 |
| | | |||||
| * | the new blocks without 'do' produce compatible AST with 'do blocks' | Zahary Karadjov | 2017-04-09 | 2 | -12/+10 |
| | | |||||
| * | improve the usability of the jsffi module | Zahary Karadjov | 2017-04-09 | 2 | -10/+104 |
| | | | | | | | | | | | | * All JavaScript operators are usable with JsObject * The dot operators will use native JavaScript strings * Results returned from dot calls are consired discardable | ||||
| * | fix the do notation when used with procs | Zahary Karadjov | 2017-04-09 | 7 | -11/+59 |
| | | |||||
| * | fix #5643; fix #5644 | Zahary Karadjov | 2017-04-08 | 4 | -7/+42 |
| | | |||||
| * | Restore the Nim's 0.14 proper handling of generic aliases | Zahary Karadjov | 2017-04-08 | 12 | -55/+236 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | test case for #5640 | Zahary Karadjov | 2017-04-07 | 1 | -0/+6 |
| | | |||||
| * | fix #5658 | Zahary Karadjov | 2017-04-07 | 3 | -4/+36 |
| | | |||||
| * | fix #5654 | Zahary Karadjov | 2017-04-07 | 3 | -2/+47 |
| | | |||||
| * | fix #5642 | Zahary Karadjov | 2017-04-07 | 4 | -3/+31 |
| | | |||||
| * | fix #5648 | Zahary Karadjov | 2017-04-07 | 2 | -2/+25 |
| | | |||||
| * | wip fix #5640 | Zahary Karadjov | 2017-04-07 | 2 | -1/+3 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-05-16 | 2 | -6/+11 |
|\ \ | |||||
| * | | compiler option for testament (#5713) | Jacek Sieka | 2017-05-15 | 2 | -6/+11 |
| | | | | | | | | | | | | | | | | | | * compiler option for testament * different spacing | ||||
* | | | better stack trace handling | Andreas Rumpf | 2017-05-16 | 1 | -2/+7 |
|/ / | |||||
* | | Fixes #5532 win async write (#5791) | Andreas Rumpf | 2017-05-14 | 3 | -5/+28 |
| | | | | | | | | | | | | * nimgrab tool bugfix: don't divide by zero * fixes #5532 (asyncfile write on Windows) * add a comment about what has been tried instead | ||||
* | | fixed macros.getTypeImpl for a symbol of type tyGenericBody (#5788) (#5812) | jcosborn | 2017-05-14 | 3 | -19/+55 |
| | | | | | | | | | | * fixed macros.getTypeImpl for a symbol of type tyGenericBody * added test case and commented test code | ||||
* | | Remove unused oids import from asyncdispatch (#5811) | Ruslan Mustakov | 2017-05-14 | 2 | -2/+2 |
| | | |||||
* | | tut1.rst: Fix alignment, Change Subrange to MySubrange for clarity (#5798) | Mice Pápai | 2017-05-13 | 1 | -5/+5 |
| | | | | | | | | | | | | * tut1.rst: Fix alignment * tut1.rst: Change Subrange to MySubrange for clarity | ||||
* | | Extend documenation of formatFloat() (#5799) | Simon Krauter | 2017-05-13 | 1 | -0/+2 |
| | | | | | | Added line: "If ``precision == 0``, it tries to format it nicely." (copied from formatBiggestFloat()) | ||||
* | | Fixed syslocks for ios (#5804) | Yuriy Glukhov | 2017-05-12 | 1 | -22/+88 |
| | | |||||
* | | Fix atomicInc under vcc, C++, amd64 (#5809) | Ruslan Mustakov | 2017-05-12 | 1 | -2/+18 |
| | | | | | | | | | | | | Also, fixed inconsistent behaviour of atomicInc on vcc. Previously it would return the old value, while it must return the new value. Fixes: #5808 | ||||
* | | fixes multiple nil-checks for methods (#5806) | Parashurama | 2017-05-12 | 1 | -3/+6 |
| | | |||||
* | | Consider optNoCppExceptions in blockLeaveActions (#5801) | Ruslan Mustakov | 2017-05-11 | 1 | -2/+2 |
| | | |||||
* | | attempt to make nimsuggest work with choosenim | Andreas Rumpf | 2017-05-11 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #5797 from knockoutMice/patch-1 | Dominik Picheta | 2017-05-10 | 1 | -1/+1 |
|\ \ | | | | | | | Fix a typo in the Result variable block | ||||
| * | | Fix a typo in the Result variable block | Mice Pápai | 2017-05-10 | 1 | -1/+1 |
|/ / | |||||
* | | Fixed const sets in JS (#5790) | Yuriy Glukhov | 2017-05-10 | 2 | -2/+1 |
| | | |||||
* | | Deprecate osproc.select(). Refs #90. | Dominik Picheta | 2017-05-09 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #5782 from cdunn2001/setGlobalDispatcher | Dominik Picheta | 2017-05-08 | 2 | -0/+20 |
|\ \ | | | | | | | setGlobalDispatcher() | ||||
| * | | setGlobalDispatcher() | Christopher Dunn | 2017-05-07 | 2 | -0/+20 |
|/ / | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-05-06 | 2 | -11/+45 |
|\ \ | |||||
| * | | Implement 'take' for Table and TableRef (#5773) | Ruslan Mustakov | 2017-05-04 | 2 | -11/+45 |
| | | |