Oscar Nihlgård
4264e9576d
Consider range type of runtime discrim [feature] ( #11432 )
2019-08-20 17:39:49 +02:00
Andreas Rumpf
d00c8febee
Nimpretty: fix #11937 ( #11978 )
...
* cosmetic improvements
* remove unused imports
* make 'openPars' and 'closedPars' more readable
* nimpretty: fix #11937 (wrong indentation)
2019-08-20 16:03:04 +02:00
Araq
b1b0960c36
fixes #11972
2019-08-20 15:47:04 +02:00
Miran
75baaa5e25
nim check, fix #11927 , no more empty strings ( #11979 )
2019-08-19 22:25:21 +02:00
narimiran
ceb742351a
nimpretty: fix #11937 (wrong indentation)
2019-08-19 13:35:10 +02:00
narimiran
cf4390a24a
cosmetic improvements
...
* remove unused imports
* make 'openPars' and 'closedPars' more readable
2019-08-19 13:29:45 +02:00
Andreas Rumpf
742862b847
more enhancements for #11618 ( #11976 )
...
* finish the Windows IO layer changes; refs #11618
* added system.getOsFileHandle which is less error-prone on Windows
* make tests green again
2019-08-18 22:57:56 +02:00
nc-x
ac7a365137
Fix HCR crash because certain procs were hcrGetProc'ed before being hcrRegisterProc'ed ( #11971 )
2019-08-18 14:16:51 +02:00
nc-x
d5840e1e3d
Implement isExported for symbols in macros ( #11963 )
...
* Implement isExported for macros
* Reimplement isExported using VM callback mechanism
* VM does not support exceptions, use stacktrace() instead.
2019-08-18 11:51:28 +02:00
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