Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make `static` blocks introduce their own scope | LemonBoy | 2018-06-24 | 1 | -0/+2 |
| | | | | | | | Treat the static block as a normal block, don't leak any identifier in the outer scope. Fixes #5958 | ||||
* | Merge pull request #8084 from LemonBoy/fix-7905 | Andreas Rumpf | 2018-06-24 | 1 | -3/+4 |
|\ | | | | | Discriminate gensym'd type names in sigHash | ||||
| * | Don't blow up with recursive objects | LemonBoy | 2018-06-22 | 1 | -4/+3 |
| | | |||||
| * | Discriminate gensym'd type names in sigHash | LemonBoy | 2018-06-22 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | The root cause of #7905 lies in the codegen phase. The two template instantiations generate two different MyType types with different members but same t.sym.name leading the caching mechanism to confuse the two. Fixes #7905 | ||||
* | | Merge pull request #8062 from LemonBoy/fix-7825 | Andreas Rumpf | 2018-06-21 | 1 | -2/+9 |
|\ \ | | | | | | | Fix constant folding for shl/not | ||||
| * | | Fix constant folding for shl/not | LemonBoy | 2018-06-19 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | Since the source and destination types are the same the result should be trimmed to fit. | ||||
* | | | nimpretty: bugfixes; refs #8078 | Araq | 2018-06-20 | 1 | -4/+7 |
| | | | |||||
* | | | fixes #8076 | Araq | 2018-06-20 | 1 | -10/+11 |
| | | | |||||
* | | | nimpretty: fixes more reported issues | Andreas Rumpf | 2018-06-20 | 1 | -3/+4 |
| | | | |||||
* | | | nimpretty: don't produce trailing whitespace; fixes the rendering of unary ↵ | Andreas Rumpf | 2018-06-19 | 1 | -4/+9 |
| | | | | | | | | | | | | operators | ||||
* | | | nimpretty: proper command line handling; added tests; travis ensures these ↵ | Andreas Rumpf | 2018-06-19 | 1 | -7/+5 |
| |/ |/| | | | | | stay green | ||||
* | | nimpretty improvements | Andreas Rumpf | 2018-06-19 | 3 | -43/+60 |
| | | |||||
* | | nimpretty: don't touch dense binary operators | Andreas Rumpf | 2018-06-17 | 1 | -9/+13 |
| | | |||||
* | | nimpretty: fixes pragma rendering | Andreas Rumpf | 2018-06-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2018-06-16 | 2 | -60/+75 |
|\ \ | |||||
| * \ | Merge pull request #8039 from yglukhov/proc-pragmas | Andreas Rumpf | 2018-06-16 | 2 | -60/+75 |
| |\ \ | | | | | | | | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma | ||||
| | * | | Fixed proto options | Yuriy Glukhov | 2018-06-15 | 1 | -0/+1 |
| | | | | |||||
| | * | | Fixed stacktrace/linetrace proc pragmas when appended by macro pragma | Yuriy Glukhov | 2018-06-14 | 2 | -60/+74 |
| | | | | |||||
* | | | | nimpretty: stuff that doesn't work | Andreas Rumpf | 2018-06-16 | 1 | -6/+34 |
| | | | | |||||
* | | | | nimpretty: more features | Andreas Rumpf | 2018-06-16 | 2 | -13/+51 |
|/ / / | |||||
* | | | nimpretty: render and/or/notin/in properly | Andreas Rumpf | 2018-06-16 | 1 | -2/+9 |
| | | | |||||
* | | | nimpretty: first version that seems useful for others to test it | Andreas Rumpf | 2018-06-16 | 4 | -3/+231 |
| |/ |/| | |||||
* | | Merge pull request #8021 from yglukhov/seq-lit | Andreas Rumpf | 2018-06-14 | 1 | -1/+1 |
|\ \ | | | | | | | Added NIM_STRLIT_FLAG to seq literals | ||||
| * | | Added NIM_STRLIT_FLAG to seq literals | Yuriy Glukhov | 2018-06-12 | 1 | -1/+1 |
| | | | |||||
* | | | implements pkg/ prefix to enforce searching for the module ignore the stdlib ↵ | Araq | 2018-06-14 | 1 | -18/+14 |
| |/ |/| | | | | | paths; refs #7250 | ||||
* | | Fixed uncaught exception in vm gen | Yuriy Glukhov | 2018-06-13 | 1 | -1/+1 |
| | | |||||
* | | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 12 | -45/+58 |
| | | | | | | | | conventions outlined in NEP-1 | ||||
* | | bugfix: allow 'export' in the VM | Andreas Rumpf | 2018-06-12 | 2 | -1/+2 |
| | | |||||
* | | Merge pull request #8019 from yglukhov/proc-stacktrace | Andreas Rumpf | 2018-06-12 | 2 | -2/+5 |
|\ \ | | | | | | | Allow stacktrace and linetrace pragmas on procs | ||||
| * | | Allow stacktrace and linetrace pragmas on procs | Yuriy Glukhov | 2018-06-12 | 2 | -2/+5 |
| |/ | |||||
* | | Merge pull request #7981 from cooldome/Fix_-7980 | Andreas Rumpf | 2018-06-12 | 2 | -3/+7 |
|\ \ | |/ |/| | Fixes 7980 | ||||
| * | style improvements | cooldome | 2018-06-12 | 2 | -3/+3 |
| | | |||||
| * | add comment | cooldome | 2018-06-12 | 1 | -0/+1 |
| | | |||||
| * | New approach | cooldome | 2018-06-12 | 3 | -32/+27 |
| | | |||||
| * | fixes 7980 | cooldome | 2018-06-06 | 1 | -21/+29 |
| | | |||||
* | | Merge pull request #8014 from yglukhov/fix-6803 | Andreas Rumpf | 2018-06-11 | 2 | -13/+11 |
|\ \ | | | | | | | Fixes #6803 | ||||
| * | | Fixes #6803 | Yuriy Glukhov | 2018-06-11 | 2 | -13/+11 |
| | | | |||||
* | | | Correct field lookup in concept types | LemonBoy | 2018-06-12 | 1 | -1/+1 |
|/ / | | | | | | | Fixes #6770 | ||||
* | | fixes yet another merge conflict | Araq | 2018-06-11 | 4 | -91/+4 |
|\ \ | |||||
| * \ | Merge pull request #8009 from yglukhov/remove-oldIterTransf | Andreas Rumpf | 2018-06-11 | 4 | -91/+4 |
| |\ \ | | | | | | | | | Removed oldIterTranf feature | ||||
| | * | | Removed oldIterTranf feature | Yuriy Glukhov | 2018-06-10 | 4 | -91/+4 |
| | | | | |||||
* | | | | disable -d:nimIncremental for devel | Araq | 2018-06-11 | 1 | -1/+1 |
| | | | | |||||
* | | | | fixes merge conflict | Araq | 2018-06-11 | 1 | -4/+2 |
|\| | | | |||||
| * | | | Merge pull request #8005 from Vindaar/fixes-7997 | Andreas Rumpf | 2018-06-11 | 1 | -4/+2 |
| |\ \ \ | | |/ / | |/| | | fix #7997 | ||||
| | * | | fix #7997 | Vindaar | 2018-06-10 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue #7997, which was caused by an export of a `release` proc in `locks`. Thus the `release` in `defined(release)` of the `ifDebug` template, was of kind `nkSym` instead of `nkIdent`. We fix this by getting the `PIdent` of the argument to `defined` using `considerQuotedIdent`. This has the nice property of also checking for a valid identifier for us. E.g. `defined(123)` would fail with ``` Error: in expression 'defined(123)': identifier expected, but found '123' ``` The `localError` is removed, due to a clear distinction between `declared` and `defined` now. | ||||
* | | | | make tests green properly | Andreas Rumpf | 2018-06-11 | 1 | -2/+2 |
| | | | | |||||
* | | | | fixes merge conflict | Andreas Rumpf | 2018-06-11 | 4 | -15/+24 |
|\| | | | |||||
| * | | | fix #7653 | Zahary Karadjov | 2018-06-10 | 2 | -12/+15 |
| |/ / | |||||
| * | | Fix type inference with static literals. | LemonBoy | 2018-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | Fixes #3977 | ||||
| * | | Merge pull request #7873 from ehmry/GenodeEnv | Andreas Rumpf | 2018-06-09 | 1 | -2/+8 |
| |\ \ | | | | | | | | | Native access to Genode environment |