Andreas Rumpf
7cb31455ee
fixes #11618 ( #11969 )
2019-08-17 21:19:57 +02:00
nc-x
b68380f09b
fixes #11872 ; include now gives a proper error message for all invalid infix operators ( #11965 )
2019-08-17 19:45:47 +02:00
Andreas Rumpf
db9e27dffd
Fixes #11118 ( #11964 )
...
* fixes #11118
* Reset closure iter exception before rethrowing
2019-08-17 10:37:38 +02:00
nc-x
cf09ef47b8
Remove duplicate line number from 'invalid forward declaration' error ( #11966 )
2019-08-17 10:35:25 +02:00
Andreas Rumpf
15e681ce66
fixes 'e' command handling; now only does what advopt.txt claims it does ( #11961 )
...
* fixes 'e' command handling; now only does what advopt.txt claims it does
* address Timothee's remark
2019-08-16 18:19:30 +02:00
Yuriy Glukhov
721ca3e830
Reset closure iter exception before rethrowing
2019-08-16 17:26:00 +02:00
Araq
39f4a3e418
fixes #11801
2019-08-16 15:20:39 +02:00
Araq
b9dd972c32
fixes #11770
2019-08-16 14:48:32 +02:00
Araq
7023241aaf
fixes #11819
2019-08-16 14:37:52 +02:00
Araq
bebda3851f
fixes #1188
2019-08-16 13:29:58 +02:00
Araq
c7e77edecc
fixes #11925
2019-08-16 12:33:31 +02:00
Andreas Rumpf
ba577c7e1b
better tojsstr ( #11954 )
...
* JS: rewrote toJSStr
* JS: don't raise exceptions in primitives
2019-08-16 12:18:51 +02:00
Timothee Cour
cf22dec584
genSym symbols rendered as b1_416049 instead of b1416049 ( #11960 )
2019-08-16 12:17:20 +02:00
Araq
1fb9a6d946
added destructors.rst spec to the build documentation
2019-08-16 12:14:39 +02:00
Yuriy Glukhov
d31404ac27
Merge branch 'cpp_reraise_fix' into yield-in-try-fix
2019-08-16 10:25:09 +02:00
Timothee Cour
922e2a5098
refs #11956 ( #11957 )
2019-08-16 07:19:34 +02:00
Timothee Cour
511298242d
fixes #10053 ( #11951 )
2019-08-15 15:55:48 +02:00
pgkos
296dfae8af
Fixes splitfile ( #11918 ) [bugfix]
2019-08-15 15:22:14 +02:00
Dominik Picheta
b095203f28
Fixes regression introduced by #11904 . ( #11948 )
2019-08-15 06:05:38 +02:00
Timothee Cour
630e18a6eb
refs #11947 ; FieldError fixed ( #11950 )
2019-08-15 06:04:38 +02:00
Arne Döring
a25d43ca6b
fix warnings in system.nim ( #11944 )
2019-08-14 17:48:11 +02:00
Arne Döring
65ed2d7fe8
fixes #11942 ( #11945 )
2019-08-14 17:41:44 +02:00
Clyybber
e6cb7e34ef
Make name mangling reversable unambiguously ( #11939 ) [bugfix]
2019-08-14 08:11:50 +02:00
cooldome
5ef62fcb25
newruntime for vcc ( #11934 ) [bugfix]
2019-08-14 08:10:59 +02:00
narimiran
1874b3e786
[nobackport] add a changelog entry for the previous commit
2019-08-13 07:38:07 +02:00
Fabian Keller
83397a69fc
Consistent behavior of exec; Improved docs around exec, staticExec, gorgeEx, etc. ( #10967 )
...
* improved docs around exec, staticExec, gorgeEx, etc.
* incorporate review comment; made behavior of exec consistent
2019-08-13 07:41:08 +02:00
Andreas Rumpf
433613e267
fixes #11844 ( #11935 )
2019-08-13 06:37:37 +02:00
Araq
322ce1872f
fixes #10689
2019-08-12 14:06:48 +02:00
Araq
289b5e9ef9
fixes #11254
2019-08-12 13:58:35 +02:00
sschwarzer
c9c28bf85e
Update documentation on xmltree.items/mitems ( #11930 )
...
* Update documentation on `xmltree.items`/`mitems`
So far the documentation on `items` and `mitems` wasn't explicit about whether the iteration recurses down the node's children or not. I assumed recursion, which was wrong.
* Improve wording in comment
Use the more common and shorter word "direct".
2019-08-12 11:12:22 +02:00
Andreas Rumpf
da64c8762f
destructors: spec reflects reality, =sink is here to stay
2019-08-11 21:55:47 +02:00
Andreas Rumpf
212ae2f125
fixes #11891
2019-08-10 15:41:24 +02:00
Araq
0e4a8bfb28
fixes 'unused module' feature for 32 bit builds of Nim for good [nobackport]
2019-08-09 16:38:10 +02:00
Araq
da37177ac2
make tests green again on 32bit systems
2019-08-09 10:12:32 +02:00
Andreas Rumpf
3b8f721460
merged #11813 manually [bugfix]
2019-08-08 23:09:27 +02:00
Zachary Carter
082c440f13
Fixes effect error in pure/logging.nim ( #11898 )
...
* Fix effect error in pure/logging.nim
Currently calling `logging.log` will produce - `Error: can have an unlisted effect: RootEffect`. Add `RootEffect` to list of tags.
* the only tag necessary is RootEffect since all other Effects are descendants of RootEffect
2019-08-08 22:48:25 +02:00
Andreas Rumpf
81ddc67785
[refactoring] compiler: simplified markUsed
2019-08-08 22:43:58 +02:00
Andreas Rumpf
04708742e7
fixes #11809
2019-08-08 21:41:05 +02:00
Andreas Rumpf
e3c0bf48c5
tiny style change [refactoring]
2019-08-08 18:30:10 +02:00
Andreas Rumpf
0d5bd7e8b5
removed unused imports [refactoring]
2019-08-08 17:03:19 +02:00
Arne Döring
44e7a7b6c2
Lock semchecked ast for macros ( #11883 ) [bugfix]
...
* reject to modify type checked AST
* add flag to back out
* Introduce legacy feature set.
2019-08-08 16:57:06 +02:00
Timothee Cour
fda51b6ca2
fix crash on sigmatch ( #11913 )
2019-08-08 14:41:23 +02:00
Dmitry Matveyev
756fabb979
Fix typo ( #11910 )
2019-08-08 13:17:53 +02:00
Arne Döring
48968f3c84
delete expensive call ( #11909 ) [refactoring]
2019-08-08 09:16:07 +02:00
konradmb
addd7b5e20
Fix issue #10726 - HTTP response without Content-Length is not accessible ( #11904 )
...
* Add patch by @xenogenesi
* Async test for HTTP/1.1 without Content-Length
* Apply suggestions from code review
Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com >
2019-08-08 08:41:56 +02:00
Andreas Rumpf
c8cffaf420
Incremental compilation (IC): Improvements ( #11881 )
...
* IC: C codegen is aware of IC
* manual: minor change to make VSCode's RST plugin render it properly
* IC: minor refactoring
* testament: code refactorings
* rodutils: removed dead code
* IC: always build the compiler with the IC feature
* IC: C codegen improvements
* IC: implement the undocumented -d:nimMustCache option for testing purposes
* IC: added first basic tests
* IC: extensive testing of the deserialization feature
* testament: refactoring; better IC tests
* IC: removes 'nimMustCache' flag; readonly does the same
* testament: minor refactoring
* update Nimble version
* testament: removed dead code and imports; IC: added simple test
* IC: progress
2019-08-08 08:41:05 +02:00
Andreas Rumpf
c0d240b8cd
fixes #11807 ( #11900 )
...
* fixes #11807
* make tests green again
2019-08-07 22:40:58 +02:00
amzak
f34ae81971
Fixed handling of empty strings for encodings conversions ( #11897 )
2019-08-07 19:56:42 +02:00
awr1
9321b33cd2
Typeclass/Variant clarification in Manual ( #11901 )
...
* [Docs] clarified what type classes do in manual
* [Docs] fixed 'dynamism', added to object variant section
2019-08-07 16:03:32 +02:00
Arne Döring
afbcd1b330
int128 on firstOrd, lastOrd and lengthOrd ( #11701 )
...
* fixes #11847
2019-08-07 15:53:16 +02:00