Arne Döring
fdd09ad090
add illegal discard test
2018-11-08 22:28:29 +01:00
Arne Döring
b306e0bfe2
feedback injected
2018-11-08 22:28:29 +01:00
Arne Döring
ff950725fa
changelog entry.
2018-11-08 22:28:29 +01:00
Arne Döring
77a0f3768b
adopt tests
2018-11-08 22:28:29 +01:00
Arne Döring
16353c2ac8
fix #8011
2018-11-08 22:28:29 +01:00
Arne Döring
a147166710
fix #8335
2018-11-08 22:28:29 +01:00
Arne Döring
cba86a9893
fix #9319
2018-11-08 22:28:29 +01:00
Araq
9eed62f71c
add the new modules to the documentation generator
2018-11-08 20:52:22 +01:00
Araq
84ca9d2903
add new stdlib modules to the changelog
2018-11-08 20:52:22 +01:00
Araq
56f76c5b08
better implementation for wrapWords
2018-11-08 20:52:22 +01:00
Arne Döring
4f787ac4f4
fill region
2018-11-08 20:52:22 +01:00
Arne Döring
13defcc9f6
add doc string
2018-11-08 20:52:22 +01:00
Arne Döring
1d7c36bd8c
wordwrap stuff
2018-11-08 20:52:22 +01:00
Arne Döring
795d7e3217
WIP
2018-11-08 20:52:22 +01:00
Arne Döring
6a57ec6d2e
NaN fixes for clang backend ( #9652 )
2018-11-08 20:17:37 +01:00
Andreas Rumpf
3cf3c2d722
er... 'a not b' is an infix call
2018-11-08 09:39:27 +01:00
Andreas Rumpf
5845716df8
fixes parsing regressions; binary 'not' for 'not nil' must stay
2018-11-08 09:15:15 +01:00
Andreas Rumpf
05683e3aab
fixes #9633
2018-11-08 09:15:15 +01:00
Dominik Picheta
d0a02fe66b
Merge pull request #9642 from narimiran/callback-order
...
keep the order of the callbacks
2018-11-07 23:46:29 +00:00
Andreas Rumpf
8a357c270b
parser change: 'not' is always a unary operator; fixes #9574
2018-11-07 21:17:52 +01:00
Jacek Sieka
b1ad5fd7da
Simplify cgen forward proc ( #9635 )
...
* cgen: remove module resetting (unused)
* cgen: keep single list of forwarded modules
fewer counters to keep track of
* cgen: fix module lookup
2018-11-07 21:08:10 +01:00
Andreas Rumpf
4e94f49065
parser/grammar sync; fixes #9608 [backport]
2018-11-07 20:07:43 +01:00
Andreas Rumpf
1c73db08b8
nim check fix; fixes #9609 [backport]
2018-11-07 20:07:43 +01:00
Timothee Cour
08de33a2e3
remove ---path:"../compiler" from nimsuggest/nimsuggest.nim.cfg
2018-11-07 19:52:11 +01:00
Timothee Cour
f9bf095853
remove redundant -p:compiler in koch.nim given modules use import compiler/foo
2018-11-07 19:52:11 +01:00
Andreas Rumpf
cb4d810659
make Nim take roughly 100MB less RAM for bootstrapping via a new compiler switch -d:leanCompiler; useful for the Raberry PI
2018-11-07 18:36:52 +01:00
narimiran
15c66a06f9
keep the order of the callbacks
2018-11-07 15:22:02 +01:00
Konstantin Molchanov
d5e113c3a6
Add readData proc that accepts a string.
2018-11-07 11:26:51 +01:00
Arne Döring
c2c05f5e72
fix #9639 ( #9640 )
2018-11-07 10:58:48 +01:00
jcosborn
fc740c54ec
fixes #9600 ( #9601 )
2018-11-07 08:40:00 +01:00
pgkos
b9cdad7497
times - remove unneeded negative sign when parsing formats z and zz ( #9631 )
...
* fix wrong utcoffset sign for formats z and zz
* add tests for the timezone offset formats
2018-11-06 22:29:23 +01:00
Andreas Rumpf
73c306258b
Nimscript: fixes #9246 [backport]
2018-11-06 21:55:13 +01:00
Andreas Rumpf
24902394f7
VM: don't inject destructor calls, refs #7041
2018-11-06 19:36:39 +01:00
Miran
66a76d3165
Merge tests into a larger file (part 8 of ∞) ( #9583 )
...
* merge tuple tests
* merge trmacros tests
* merge template tests
2018-11-06 18:33:58 +01:00
Araq
c735b75f6f
compiler cleanup: flag tfOldSchoolExprStmt is gone
2018-11-06 13:55:03 +01:00
Araq
1fa22d4cfe
removed the undocumented #? strongSpaces parsing mode
2018-11-06 13:55:03 +01:00
Araq
25cb2e0c70
document system.UncheckedArray
2018-11-06 13:55:03 +01:00
Araq
1c7fbad378
make tests green again
2018-11-06 13:55:03 +01:00
Araq
e71410d74e
language cleanup: the .unchecked pragma is dead
2018-11-06 13:55:03 +01:00
Arne Döring
cc5b8c6ad2
Generic Complex type ( #9590 )
...
* remove `**`
* const `im` can now be used with Complex64
* converters from float|int to Complex are replaced by procs
* converters between various Complex types must stay to allow usage
of `im` with Complex64
* limit types for `+`, `-`, `/`, and `*` between Complex and float
* add `pow` for Complex and a number
* complex type changes
* unpublish approximation function
2018-11-05 20:27:46 +01:00
skilchen
da178e4090
make mod on floats available in the VM ( #9591 )
...
* make `mod` on floats available in the VM
* add testcase
* removed no longer needed imports
2018-11-05 09:36:28 +01:00
Timothee Cour
e4e19f8288
stripLineEnd aka chomp ( #9623 )
2018-11-05 08:01:31 +01:00
Federico Ceratto
62693457df
Add 'dedent' to documentation index ( #9615 )
2018-11-04 08:36:13 +01:00
Araq
2eff0ca2b8
added test case for #9594
2018-11-03 22:50:46 +01:00
Andreas Rumpf
ae27f8ac58
fixes #9611
2018-11-03 19:11:10 +01:00
Andreas Rumpf
c739b9192f
produce more helpful error messages when overloading resolution fails
2018-11-03 15:56:13 +01:00
Andreas Rumpf
b4f16fab49
Nim devel is version 0.19.9
2018-11-03 12:45:55 +01:00
Andreas Rumpf
a2e6a873af
fixes #9610
2018-11-03 11:04:30 +01:00
Neelesh Chandola
7a15d2d04b
Fixes #9556 ( #9604 ) [backport]
2018-11-02 18:55:53 +01:00
Neelesh Chandola
2bc016b172
Add test for #6836 ( #9602 )
2018-11-02 13:17:57 +01:00