summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* travis: run 'koch testinstall' on OSXAndreas Rumpf2018-09-181-0/+1
|
* docgen tests: patch 'nim' commands to use the currently running exe insteadAndreas Rumpf2018-09-181-4/+6
|
* Merge pull request #8996 from LemonBoy/fix-2574Andreas Rumpf2018-09-181-0/+3
|\ | | | | The VM cannot call methods
| * The VM cannot call methodsLemonBoy2018-09-171-0/+3
| | | | | | | | Fixes #2574
* | Merge pull request #8995 from LemonBoy/fix-4952Andreas Rumpf2018-09-181-3/+7
|\ \ | | | | | | Fix error during field access in VM
| * | Fix error during field access in VMLemonBoy2018-09-171-3/+7
| |/ | | | | | | | | | | | | Tuple constructors can't have nkExprColonExpr but may contain NimNodes of that kind. Fixes #4952
* | Merge pull request #8983 from cooldome/codegen_crashAndreas Rumpf2018-09-181-1/+1
|\ \ | | | | | | Fixes 8979
| * | Fixes 8979Andrii Riabushenko2018-09-161-1/+1
| | |
* | | Merge pull request #8990 from LemonBoy/fix-8259Andreas Rumpf2018-09-171-0/+2
|\ \ \ | | | | | | | | Always check the deduced type validity for result
| * | | Always check the deduced type validity for resultLemonBoy2018-09-171-0/+2
| | |/ | |/| | | | | | | Fixes #8259
* | | name mangling: also special case the backslash characterAraq2018-09-171-0/+1
| | |
* | | improve the error message for 'attempt to redefine X'; fixes #447Andreas Rumpf2018-09-174-18/+29
| | |
* | | fixes #1616; fixes 'nim doc' regressionsAndreas Rumpf2018-09-173-19/+49
|/ /
* | parser.nim: minor code style fixAndreas Rumpf2018-09-161-1/+1
| |
* | Merge pull request #8975 from fragcolor-xyz/develAndreas Rumpf2018-09-163-15/+22
|\ \ | | | | | | Improve the compiler option cppCompileToNamespace
| * | Removed optUseNimNamespace, removed useless nil checkGiovanni2018-09-163-15/+12
| | |
| * | improve the compiler option "cppCompileToNamespace", a custom namespace can ↵Giovanni2018-09-153-8/+18
| | | | | | | | | | | | now be set
* | | Allow subpaths of names of length 1Jörg Wollenschläger2018-09-151-1/+1
|/ /
* | Merge pull request #8971 from LemonBoy/fix-8967Andreas Rumpf2018-09-152-8/+10
|\ \ | | | | | | Fix codegen for set[T] parameters
| * | Fix codegen for set[T] parametersLemonBoy2018-09-152-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | Sometimes sets are materialized as arrays and we must treat them as such: the CPP backend is pickier than the C one and would sometimes produce invalid code. Fixes #8967
* | | Merge pull request #8875 from awr1/experimentalize-reorderAndreas Rumpf2018-09-152-5/+21
|\ \ \ | |/ / |/| | Experimentalize reorder (Changes {.reorder: on.} to {.experimental: "codeReordering".})
| * | fixed stmtPragmas stuffawr2018-09-071-1/+1
| | |
| * | brought back pragmaNoForward, deprecatedawr2018-09-051-0/+15
| | |
| * | Fix mergeawr2018-09-041-22/+7
| | |
| * | Deny THIS experimental pragma specifically for non-toplevelawr2018-09-041-1/+5
| | |
| * | Merge branch 'devel' into experimentalize-reorderawr12018-09-0454-484/+1017
| |\ \
| * | | transformed {.reorder: on.} into {.experimental: codeReordering.}, added testsawr2018-09-042-9/+7
| | | |
* | | | Merge pull request #8966 from LemonBoy/fix-8964Andreas Rumpf2018-09-141-5/+7
|\ \ \ \ | | | | | | | | | | Fix hashing for codegenProc (sic) types
| * | | | Fix hashing for codegenProc (sic) typesLemonBoy2018-09-141-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the name mangling is inhibited we should take the user-supplied name during the sighash computation. Fixes #8964
* | | | | make tcompilerapi green, don't assue projectPath existsAraq2018-09-141-5/+8
| | | | |
* | | | | better file handling for .line directivesAraq2018-09-141-1/+3
| | | | |
* | | | | Merge branch 'devel' into araq-better-docgenAraq2018-09-1410-132/+171
|\| | | |
| * | | | Merge pull request #8949 from nim-lang/araq-for-loop-expressionsAndreas Rumpf2018-09-127-79/+98
| |\ \ \ \ | | | | | | | | | | | | For loop expressions
| | * | | | extended system.type/typeof to support an upcoming 'collect' macro that ↵Andreas Rumpf2018-09-115-56/+67
| | | | | | | | | | | | | | | | | | | | | | | | works much better than sugar.lc
| | * | | | fixes merge conflictsAndreas Rumpf2018-09-11130-14458/+14392
| | |\ \ \ \
| | | * \ \ \ Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-09-1110-111/+216
| | | |\ \ \ \
| | | * | | | | fixes #3655Andreas Rumpf2018-09-051-5/+10
| | | | | | | |
| | * | | | | | steps to get for loops as expressionsAndreas Rumpf2018-02-282-21/+34
| | | | | | | |
| * | | | | | | Fix concat behaviour for uninitialized strings (#8950)LemonBoy2018-09-111-10/+12
| | | | | | | |
| * | | | | | | Fix semantic pass with borrowed magic procs (#8945)LemonBoy2018-09-111-0/+3
| | |_|/ / / / | |/| | | | | | | | | | | | Reported by pqflx3 on the forum.
| * | | | | | JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-19/+15
| | |_|_|_|/ | |/| | | |
| * | | | | Narrowing casts are applied after every op if needed (#8918)LemonBoy2018-09-081-28/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way we make sure not to end up with weird values every now and then. Fixes #7300 Fixes #8909
| * | | | | Fix AST generation for case statements (#8908)LemonBoy2018-09-071-1/+5
| | | | | | | | | | | | | | | | | | Fixes #7534
| * | | | | Don't segfault if the line is empty (#8906)LemonBoy2018-09-071-3/+3
| | | | | |
| * | | | | Fix type comparison in semConv (#8907)LemonBoy2018-09-071-1/+2
| | | | | | | | | | | | | | | | | | Fixes #8905
* | | | | | fixes #8883Araq2018-09-142-5/+12
| | | | | |
* | | | | | index generation for docgen knows about subdirectories; index knows about ↵Araq2018-09-131-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | enum values; fixes import statement for runnableExamples
* | | | | | nim doc: fixes cross-link generation when --out is usedAraq2018-09-102-5/+10
| | | | | |
* | | | | | some protection against injected doc comments from templatesAraq2018-09-082-7/+12
| | | | | |
* | | | | | 'nim doc': fixes index generation regressionAraq2018-09-082-4/+8
| | | | | |