Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make tmemfile2 work again | Araq | 2018-07-06 | 1 | -0/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-07-05 | 1 | -0/+2 |
| | |||||
* | turn destructors into finalizers | Andreas Rumpf | 2018-07-05 | 1 | -3/+15 |
| | |||||
* | enable destructors without the --newruntime switch | Andreas Rumpf | 2018-07-04 | 3 | -16/+4 |
| | |||||
* | code cleanup: remove newScopeForIf switch | Andreas Rumpf | 2018-07-04 | 5 | -78/+4 |
| | |||||
* | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-04 | 3 | -10/+31 |
|\ | |||||
| * | Error out if vararg match isn't an exact one (#8186) | LemonBoy | 2018-07-03 | 1 | -1/+11 |
| | | | | | | Fixes #8172 | ||||
| * | Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178) | Vindaar | 2018-07-03 | 1 | -8/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix. | ||||
| * | Fix crash with static and anonymous procs (#8171) | LemonBoy | 2018-07-02 | 1 | -1/+1 |
| | | | | | | Fixes #6077 | ||||
* | | Merge branch 'devel' into araq-devel | Andreas Rumpf | 2018-07-01 | 8 | -46/+55 |
|\| | |||||
| * | Minor changes to discardable handling (#8155) | LemonBoy | 2018-07-01 | 2 | -21/+7 |
| | | |||||
| * | Fix use of custom pragmas in generic procs (#8165) | LemonBoy | 2018-07-01 | 1 | -1/+2 |
| | | | | | | Fixes #7626 | ||||
| * | Fix constant folding of len() with concept type (#8143) | LemonBoy | 2018-06-30 | 1 | -6/+6 |
| | | | | | | Fixes #7952 | ||||
| * | Fix vm regression (#8163) | Oscar Nihlgård | 2018-06-30 | 1 | -0/+7 |
| | | |||||
| * | Fixes #6689 (#8135) | Oscar Nihlgård | 2018-06-30 | 1 | -2/+8 |
| | | |||||
| * | Check the RHS when building a set (#8159) | LemonBoy | 2018-06-30 | 1 | -1/+1 |
| | | | | | | Fixes #2669 | ||||
| * | fix #8129 by calling `semExpr` in `semIs` if node is `strLit` (#8130) | Vindaar | 2018-06-29 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * call `semExpr` in `semIs` if node is `strLit`, fixes #8129 In case the second son of the node in `semIs` is of kind `strLit`, we now call `semExpr` to set the `typ` field of that node. Also removes the `t2 != tyTypeDesc` check in `isOpImpl`, since the kind of `n[2]` is already assertet with the `internalAssert`. * reintroduce check for `t2.kind != tyTypeDesc` to fix test case The `internalAssert` in the `isOpImpl` doesn't check `n.sons[2].typ.kind` as I previously read, but rather `n.sons[2].kind`. Therefore the check for `tyTypeDesc` here is useful. Otherwise the last test case in `isopr.nim` fails. Also removes the flag `efDetermineType` from the call to `semExpr`. | ||||
| * | VM regression fixes (#8146) | Oscar Nihlgård | 2018-06-29 | 1 | -1/+3 |
| | | |||||
| * | Fix codegen for mInSet magic and empty sets (#8140) | LemonBoy | 2018-06-29 | 1 | -13/+17 |
| | | | | | | Fixes #8041 | ||||
| * | improve error message if literal ends with an underscore (#8114) | Vindaar | 2018-06-28 | 1 | -1/+2 |
| | | |||||
* | | codgen refactoring: prepare for alternative string/seq implementations | Andreas Rumpf | 2018-06-29 | 4 | -19/+23 |
|/ | |||||
* | Fix template codegen with static parameters (#8110) | LemonBoy | 2018-06-27 | 1 | -8/+12 |
| | | | | | | | | * Fix template codegen with static parameters Fixes #7477 * Move the test case to tstaticimportcpp | ||||
* | Return an error symbol as macro output if needed (#8116) | LemonBoy | 2018-06-27 | 1 | -1/+6 |
| | | | | | | Return an error symbol if the macro output has no type and a typedesc is expected. Fixes #7454 | ||||
* | Reject ptr/ref void types (#8127) | LemonBoy | 2018-06-27 | 1 | -0/+3 |
| | | | | | Do this during the semantic pass to avoid tripping the following passes. Fixes #6454 | ||||
* | Reject enums with holes when computedGoto is used (#8132) | LemonBoy | 2018-06-27 | 1 | -0/+3 |
| | | | Fixes #7699 | ||||
* | Don't consider concept types as non-complex during codegen (#8119) | LemonBoy | 2018-06-27 | 1 | -1/+1 |
| | | | Fixes #7125 | ||||
* | Lexer: do not accept some invalid integer literals (#8089) | Hiroki Noda | 2018-06-27 | 1 | -7/+12 |
| | | | | | | * Lexer: do not accept some invalid integer literals * Use Natural instead of uint, and result variable | ||||
* | Nintendo switch support (#8069) | Joey | 2018-06-27 | 4 | -4/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs | ||||
* | compiler/types.nim: make low/high know about 'sink' parameters; cleans up #7736 | Araq | 2018-06-27 | 1 | -12/+16 |
| | |||||
* | Merge pull request #7736 from cooldome/range_float_type | Andreas Rumpf | 2018-06-27 | 3 | -23/+60 |
|\ | | | | | Language feature: range float types | ||||
| * | manual merge 2 | cooldome | 2018-06-12 | 2 | -3/+3 |
| | | |||||
| * | Manual merge | cooldome | 2018-06-12 | 1 | -0/+1 |
| | | |||||
| * | merge devel | cooldome | 2018-06-12 | 110 | -5502/+3689 |
| |\ | |||||
| * | | Fix error message | cooldome | 2018-06-12 | 1 | -2/+2 |
| | | | |||||
| * | | style fixes, typos | cooldome | 2018-06-12 | 1 | -5/+5 |
| | | | |||||
| * | | remove underscores | cooldome | 2018-06-11 | 1 | -5/+5 |
| | | | |||||
| * | | fix comments | cooldome | 2018-06-10 | 2 | -23/+52 |
| | | | |||||
| * | | manual merge | cooldome | 2018-06-10 | 1 | -2/+2 |
| | | | |||||
| * | | manual merge continues | cooldome | 2018-06-10 | 1 | -16/+30 |
| | | | |||||
| * | | manual merge | cooldome | 2018-06-10 | 1 | -470/+0 |
| | | | |||||
| * | | merge devel | cooldome | 2018-06-10 | 104 | -6872/+7045 |
| |\ \ | |||||
| * \ \ | Merge branch 'devel' into range_float_type | cooldome | 2018-04-30 | 9 | -22/+33 |
| |\ \ \ | |||||
| * \ \ \ | merge devel | cooldome | 2018-04-29 | 12 | -191/+134 |
| |\ \ \ \ | |||||
| * | | | | | update the doc | cooldome | 2018-04-29 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge branch 'devel' into range_float_type | cooldome | 2018-04-26 | 3 | -2/+4 |
| |\ \ \ \ \ | |||||
| * | | | | | | Implement float range types | cooldome | 2018-04-26 | 4 | -89/+145 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #8120 from krux02/basic-debugging | Andreas Rumpf | 2018-06-26 | 2 | -8/+8 |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | make basic debugging possible | ||||
| * | | | | | | | make basic debugging possible | Arne Döring | 2018-06-26 | 2 | -8/+8 |
| | | | | | | | | |||||
* | | | | | | | | Merge pull request #7681 from nim-lang/typedesc-reforms | Andreas Rumpf | 2018-06-26 | 17 | -164/+493 |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Typedesc reforms | ||||
| * \ \ \ \ \ \ \ | Merge branch 'devel' into typedesc-reforms | Andreas Rumpf | 2018-06-26 | 14 | -84/+201 |
| |\ \ \ \ \ \ \ \ |