summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* fixes #9297 (#9298)cooldome2018-10-113-10/+9
| | | | | | * fixes #9297 * improve spacing
* test case for #9180 and re-enables the disabled tcompilerapi test (#9181)Timothee Cour2018-10-111-0/+7
| | | | | | * add findNimStdLibCompileTime and un-disable tcompilerapi test; add test case for #9180 * address comments
* compiler: show name of instantiating context in error traces (#6763) (#9207)xzfc2018-10-116-15/+24
|
* Fix wrong heuristic in codegen (#9293)LemonBoy2018-10-111-1/+7
| | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286
* Unchecked arrays now have their own type (#9267)LemonBoy2018-10-1012-19/+60
|
* fixes #9263Andreas Rumpf2018-10-101-62/+80
|
* Fixes #9154 (#9193)manterolat2018-10-102-0/+6
|
* fix #9264 regression (#9265)Timothee Cour2018-10-091-5/+2
|
* fixes unexpected transforming of runnableExamples (#9158)Steve Kellock2018-10-093-7/+9
|
* Fix overload resolution for pragmas evaluation (#8902)LemonBoy2018-10-094-32/+43
| | | | Fixes #6448 Fixes #4384
* Field checks for everybody (#8957)LemonBoy2018-10-097-44/+149
| | | | | | | | | | | | | | | | | | | | | * Field checks for JS backend * Clean nkCall nodes with no arguments Generating a nkEmpty in place of no arguments makes no sense form the AST point of view and also trips up the VM codegen. * Field checks for VM backend * Test case for #6612 This patchset fixes #6612 * Add test case for LHS double evaluation * Prevent LHS double-eval for JS backend * Prevent double evaluation in VM backend
* Try/Catch support for native JS exceptions (#8955)LemonBoy2018-10-092-8/+35
| | | | | | * Try/Catch support for native JS exceptions * Better tests
* Fix transformation of yield in inline context (#9135)LemonBoy2018-10-091-15/+28
| | | | | | When the loop variables are part of the envP block it is not safe to use a nkFastAsgn. Fixes #2656
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-0912-64/+60
| | | Closes #9068
* Fix range type construction in the VM (#9205)LemonBoy2018-10-091-2/+9
| | | | | | The `range[X,Y]` representation is wrong, we use `range[X .. Y]` instead. Fixes #9194
* fixes #9222 (#9224)cooldome2018-10-091-1/+6
|
* nim doc can run code blocks (#9228)LemonBoy2018-10-091-24/+32
|
* Codegen fix for procs taking type(nil) (#9231)xzfc2018-10-091-1/+1
|
* Prevent the construction of recursive tyStatic types (#9256)LemonBoy2018-10-091-4/+7
| | | Fixes #9255
* Add checks for except: body blocks (#9191)Dheepak Krishnamurthy2018-10-092-2/+20
|
* fixes #4435 (#9185)jcosborn2018-10-091-1/+1
|
* attempt to fix the .line pragmaAraq2018-10-031-12/+1
|
* fixes #5015Araq2018-10-031-2/+4
|
* fixes #7092Araq2018-10-021-1/+1
|
* fixes #5479Araq2018-10-022-8/+13
|
* fixes #6533Araq2018-10-021-1/+2
|
* C++ codegen: emit correctly typed code for closures in 'const'; refs #7870Araq2018-10-021-3/+9
|
* ccgtypes: improve internal documentationAraq2018-10-021-2/+4
|
* docgen: fixes typoAraq2018-10-021-1/+1
|
* compiler IC: minor improvementsAraq2018-10-022-2/+4
|
* fixes #7351Araq2018-10-021-1/+3
|
* compiler: fixes path generation for .line pragmaAraq2018-10-021-5/+9
|
* compiler: make symbolfiles feature compile againAraq2018-10-023-18/+18
|
* fixes #9140Araq2018-10-011-1/+1
|
* compiler: minor documentation improvementAraq2018-10-011-1/+1
|
* Fix regression with runnableExamples in generic exprLemonBoy2018-09-301-5/+5
| | | | | | | | The examples should not enter the generic analysis at all. The regression was introduced in 4cf704bb as a fix for #8694. Fixes #9130 Fixes #8694
* fix extension passing for rst2tex commandSergey Avseyev2018-09-291-3/+3
|
* don't require an implementation for procs marked with .error; activate the ↵Araq2018-09-294-19/+32
| | | | move optimizer for destructors
* Fix codegen for some set operationsLemonBoy2018-09-281-1/+1
| | | | | | | Taking the LHS type when a temporary result value was needed lead to bad code being generated if we get a tyRef. Fixes #9098
* Merge pull request #9085 from LemonBoy/fix-9079Andreas Rumpf2018-09-281-4/+1
|\ | | | | Constant folding should not drop distinct types
| * Constant folding should not drop distinct typesLemonBoy2018-09-271-4/+1
| | | | | | | | Fixes #9079
* | fixes #9083Araq2018-09-271-1/+1
|/
* fixes #9076Araq2018-09-262-2/+4
|
* .error for routines now can also have a custom error message; improve error ↵Araq2018-09-253-13/+23
| | | | message for 'nil' strings
* math.nim: document what to use instead of 'fmod'Araq2018-09-251-1/+1
|
* make t7346 work againAndreas Rumpf2018-09-241-1/+1
|
* make tests green againAndreas Rumpf2018-09-244-8/+21
|
* C codegen: support system.move and system.wasMovedAndreas Rumpf2018-09-241-0/+19
|
* enable destructors for top level statements; needs to be documentedAndreas Rumpf2018-09-242-5/+24
|
* Merge pull request #9046 from LemonBoy/fix-9043Andreas Rumpf2018-09-231-3/+3
|\ | | | | Fix for VM codegen with static[T] types