Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hotfix: --noNimblePath wasn't working when in a config file | Andreas Rumpf | 2016-05-31 | 1 | -0/+3 |
| | |||||
* | changed the compiler's path handling; fixes #546 | Andreas Rumpf | 2016-05-31 | 5 | -12/+23 |
| | |||||
* | fixes #786 | Andreas Rumpf | 2016-05-31 | 1 | -0/+2 |
| | |||||
* | fixes #765 | Andreas Rumpf | 2016-05-31 | 1 | -2/+4 |
| | |||||
* | fixes #1262 | Andreas Rumpf | 2016-05-31 | 1 | -10/+12 |
| | |||||
* | fixes #1713 | Andreas Rumpf | 2016-05-30 | 5 | -11/+32 |
| | |||||
* | refactorings | Andreas Rumpf | 2016-05-30 | 1 | -42/+55 |
| | |||||
* | Merge branch 'patch/fix-3496-generic-tmpl-args' of ↵ | Andreas Rumpf | 2016-05-29 | 2 | -5/+57 |
|\ | | | | | | | https://github.com/nanoant/Nim into nanoant-patch/fix-3496-generic-tmpl-args | ||||
| * | fixes #3496 | Adam Strzelecki | 2015-10-29 | 2 | -5/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem comes from the fact that macroOrTmpl[...] is transformed by semSubscript which is trying to evaluate macroOrTmpl identifier in place. This is okay for non-generic macros or templates, but wrong for generic ones, that do not have a chance to receive their generic arguments explicitly specified in brackets. Solution: 1. macroOrTmpl[...] where macroOrTmpl is non-generic macro or template, then macroOrTmpl is evaluated before applying brackets. (as before) 2. macroOrTmpl[...] where macroOrTmpl is generic macro or template, then if: a. It comes from macroOrTmpl[...](...) call expr (efInCall), then macroOrTmpl is turned into a symbol (efNoEvaluate) rather than evaluating it in place, then whole bracket expr is returned to semIndirectOp which transforms it to proper generic macro or template call with explicit generic arguments. b. macroOrTmpl[...] does not come from call expr, as above macroOrTmpl is transformed to symbol, then it is transformed into proper generic macro or template call with explicit generic arguments and no normal arguments. | ||||
* | | fixes #4177 | Andreas Rumpf | 2016-05-28 | 1 | -2/+4 |
| | | |||||
* | | fixes #3882 | Andreas Rumpf | 2016-05-28 | 1 | -3/+7 |
| | | |||||
* | | cleanup of #4113 | Andreas Rumpf | 2016-05-28 | 2 | -30/+30 |
| | | |||||
* | | Merge pull request #4113 from jcosborn/gettypeinst | Andreas Rumpf | 2016-05-28 | 3 | -38/+172 |
|\ \ | | | | | | | getTypeInst | ||||
| * | | getTypeInst and getTypeImpl mostly working now and added test | James Osborn | 2016-05-04 | 3 | -32/+123 |
| | | | |||||
| * | | changed getTypeInst handling for distinct types | James Osborn | 2016-05-04 | 1 | -5/+15 |
| | | | |||||
| * | | added getTypeInst which includes generic parameters | James Osborn | 2016-05-04 | 3 | -23/+56 |
| | | | |||||
* | | | fixes #2159 | Andreas Rumpf | 2016-05-28 | 4 | -1/+18 |
| | | | | | | | | | | | | Hints and warnings are only emitted for the main package that is compiled | ||||
* | | | fixes critical 'do' parsing bug | Andreas Rumpf | 2016-05-28 | 1 | -2/+3 |
| | | | |||||
* | | | Fix issue #4001: invalid pragma {. hint[]: off .} | Andrei Formiga | 2016-05-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug was in processNote, module pragmas. The code assumed that a nkBracketExpr AST node always had two children (without testing this), and tried to access elements with index 0 and 1 in the sons array of the nkBracketExpr node. The code that triggered the bug was just {. hint[]: off .} by itself in a module; in this case the nkBracketExpr has only one children in the sons array, so the code in processNote caused an out-of-bounds array access. This commit also adds a test to guarantee that this pragma is rejected, as is. | ||||
* | | | remove funny debug output | Andreas Rumpf | 2016-05-27 | 1 | -1/+0 |
| | | | |||||
* | | | fixes #4225 | Andreas Rumpf | 2016-05-27 | 1 | -1/+1 |
| | | | |||||
* | | | fixes #4227 | Andreas Rumpf | 2016-05-27 | 4 | -7/+8 |
| | | | |||||
* | | | improve error messages for mismatched templates involving 'untyped' and stmts | Andreas Rumpf | 2016-05-27 | 1 | -3/+5 |
| | | | |||||
* | | | Fixes #4222 | Yuriy Glukhov | 2016-05-26 | 1 | -4/+4 |
| | | | |||||
* | | | Nimscript knows about the command line defines | Andreas Rumpf | 2016-05-24 | 2 | -4/+4 |
| | | | |||||
* | | | allow to check verbosity level via compileOption | Andreas Rumpf | 2016-05-24 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #4083 from vegansk/vm_readfile | Andreas Rumpf | 2016-05-24 | 1 | -31/+37 |
|\ \ \ | | | | | | | | | Add ``readFile`` implementation for nimvm | ||||
| * | | | Add ``readFile`` implementation for nimvm | Anatoly Galiulin | 2016-04-13 | 1 | -31/+37 |
| | | | | |||||
* | | | | Nim check defines 'nimcheck' conditional symbol | Andreas Rumpf | 2016-05-24 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge branch 'prim-gc' into devel | Andreas Rumpf | 2016-05-22 | 1 | -1/+1 |
|\ \ \ \ | |||||
| * | | | | GC with primitive MS | Andreas Rumpf | 2016-05-16 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | refactoring: flags instead of bools | Andreas Rumpf | 2016-05-15 | 6 | -25/+31 |
| | | | | | |||||
* | | | | | 4066 fixup | Yuriy Glukhov | 2016-05-19 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | fixes #4066 | Andreas Rumpf | 2016-05-18 | 3 | -6/+9 |
| | | | | | |||||
* | | | | | refactoring: flags instead of bools | Andreas Rumpf | 2016-05-18 | 6 | -25/+31 |
|/ / / / | |||||
* | | | | PHP codegen improvements | Andreas Rumpf | 2016-05-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | fixes #4148 | Andreas Rumpf | 2016-05-12 | 1 | -2/+2 |
| | | | | |||||
* | | | | fixes #4146 | Andreas Rumpf | 2016-05-12 | 1 | -24/+24 |
| | | | | |||||
* | | | | fixes #4147 | Andreas Rumpf | 2016-05-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | fixes #3763 | Andreas Rumpf | 2016-05-12 | 1 | -17/+21 |
| | | | | |||||
* | | | | fixes #950 | Andreas Rumpf | 2016-05-12 | 1 | -2/+2 |
| | | | | |||||
* | | | | fixes #4145 | Andreas Rumpf | 2016-05-11 | 1 | -1/+2 |
| | | | | |||||
* | | | | fixes #3992 | Andreas Rumpf | 2016-05-11 | 1 | -0/+2 |
| | | | | |||||
* | | | | fixes #3956 | Andreas Rumpf | 2016-05-11 | 1 | -4/+5 |
| | | | | |||||
* | | | | fixes #4110 | Andreas Rumpf | 2016-05-11 | 2 | -2/+3 |
| | | | | |||||
* | | | | fixes #4034 | Andreas Rumpf | 2016-05-11 | 2 | -1/+3 |
| | | | | |||||
* | | | | fixes #4040 | Andreas Rumpf | 2016-05-11 | 1 | -1/+8 |
| | | | | |||||
* | | | | fixes #4070 | Andreas Rumpf | 2016-05-11 | 1 | -0/+1 |
| | | | | |||||
* | | | | fixes #177 | Andreas Rumpf | 2016-05-11 | 2 | -5/+18 |
| | | | | |||||
* | | | | fixes #4144 | Andreas Rumpf | 2016-05-11 | 1 | -24/+16 |
| | | | |