Arne Döring
88b5dd3362
right shift is now by default sign preserving ( #11322 )
...
* right shift is now by default sign preserving
* fix hashString and semfold
* enable arithmetic shift right globally for CI
* fix typo
* remove xxx
* use oldShiftRight as flag
* apply feedback
* add changelog entry
2019-05-29 16:48:00 +02:00
Araq
0f4446b861
docgen: do not render the ugly <//> operator; temporary hack until 0.20 has been released
2019-05-29 10:23:39 +02:00
Andreas Rumpf
8951680c05
fixes #10889
2019-05-29 08:00:52 +02:00
Araq
950f2d7c2f
fixes #6755 ; error message could be better but oh well
2019-05-28 22:20:49 +02:00
Andreas Rumpf
e68adca0c9
fixes #6777 ( #11347 )
2019-05-28 22:00:01 +02:00
Araq
8bb1a6b041
fixes #11205
2019-05-28 21:30:41 +02:00
Araq
bcccc7dec8
docgen.nim: avoid compiler warning
2019-05-28 16:31:57 +02:00
Andreas Rumpf
9d8b4d6020
fixes #11057 ( #11345 )
2019-05-28 15:55:11 +02:00
Araq
84ca1f3bf3
hotfix for 32bit unsigned 'range' checking; incomplete, unknown why some operations produce range checks
2019-05-27 22:38:06 +02:00
Andreas Rumpf
49e686ab4e
fixes #1286 ; object case transitions are now sound
2019-05-27 21:29:02 +02:00
Jasper Jenkins
1286ba3452
fix bool and range ( #11336 )
2019-05-27 07:59:22 +02:00
Jasper Jenkins
f774426095
Smarter variant object construction ( #11273 )
2019-05-26 21:22:02 +02:00
Andreas Rumpf
16aa10dfe1
fixes #10038 ; deprecate generic methods, they are unreliable
2019-05-25 23:56:16 +02:00
Andreas Rumpf
36a398d96f
C codegen: preparations for better code generation
2019-05-25 20:53:11 +02:00
Oscar Nihlgård
3a06022071
Enable range checking for unsigned integers ( #11313 )
...
* Enable range checking for unsigned integers
* Make the tests green
2019-05-25 20:48:13 +02:00
Ico Doornekamp
70fb3a93e9
list available options for --cpu, --os and --cc if the passed option is not found ( #11328 )
2019-05-25 20:22:57 +02:00
Kaushal Modi
2f610d621f
Use the correct HTML file reference in "nim doc" generated idx files ( #11326 )
...
* Use the correct HTML file reference in "nim doc" generated idx files
Now "nim doc --out:foo.html --index:on bar.nim" generates "foo.html"
and the generated "bar.idx" contains references to "foo.html".
Fixes https://github.com/nim-lang/Nim/issues/11325 .
* Refactor the nim doc tester to extend it for more tests
* Reference the HTML files relative to the outDir, not project dir
* Add test for issues #11312 and #11325
- https://github.com/nim-lang/Nim/issues/11312
- https://github.com/nim-lang/Nim/issues/11325
2019-05-25 20:20:25 +02:00
Andreas Rumpf
7e9cda7dba
fixes #10299 ( #11324 )
2019-05-25 07:33:33 +02:00
Andreas Rumpf
7e53c1c5c5
fixes #11188 ( #11319 )
2019-05-24 22:50:43 +02:00
Andreas Rumpf
ef8ddef47b
fixes #10912 ( #11317 )
...
* fixes #10912
* update the tutorial examples
2019-05-24 18:33:53 +02:00
Araq
d67a9f024e
fixes #11306
2019-05-24 15:25:09 +02:00
Araq
1a8ef6b491
fixes #11312
2019-05-24 10:34:36 +02:00
Araq
cacd6d1070
fixes #11294
2019-05-24 09:43:04 +02:00
Andreas Rumpf
39a3dbb16b
fixes #11187 ( #11315 )
2019-05-24 08:19:05 +02:00
Araq
c7de1a252e
fixes #11257
2019-05-24 00:44:49 +02:00
Araq
b75ad05267
fixes move analyser; refs #11257
2019-05-24 00:12:36 +02:00
Andreas Rumpf
aa4cf92ae8
fixes #11309 ( #11310 )
2019-05-23 19:32:44 +02:00
Andreas Rumpf
fd16875561
fixes #8568 ( #11303 )
...
* fixes #8568
* fixes regression
2019-05-22 20:59:54 +02:00
narimiran
6ae74f61f3
remove trailing whitespace [ci skip]
2019-05-22 20:38:08 +02:00
Andreas Rumpf
1e97b420bb
fixes #7167 ( #11300 )
...
* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
2019-05-22 11:50:05 +02:00
Araq
57bc8d73b4
fixes subtype relation regression
2019-05-22 07:41:16 +02:00
Araq
1f7f0908ef
make bootstrapping work with older Nims
2019-05-22 07:41:16 +02:00
Araq
90e882d55b
fixes #11239
2019-05-22 07:41:16 +02:00
Andreas Rumpf
23dbc9ad58
fixes #11268 ( #11299 )
2019-05-22 07:37:25 +02:00
Miran
bab5e30972
fixes #10963 , disallow implicit mixing of strings and ints/floats ( #11292 )
2019-05-21 21:32:37 +02:00
Arne Döring
f94ec363ab
Allow void macro result ( #11286 )
...
* allow void macro result
* add test for void macro result type
2019-05-21 21:31:40 +02:00
Ico Doornekamp
c01f7bfdaf
More specific error message for unsupported recursion in iterators ( #11283 )
2019-05-20 15:22:42 +02:00
Arne Döring
aeb6ec27de
fix for return in macro ( #9666 ); fixes #5874
2019-05-20 12:18:53 +02:00
Jasper Jenkins
90ed904c4d
range/case fixes ( #11264 )
2019-05-16 16:36:40 +02:00
Andreas Rumpf
e26545797e
fixes #7816 ( #11261 )
2019-05-15 21:12:07 +02:00
Clyybber
4e0e706cfe
Correct global destructor injections for js backend ( #11240 )
2019-05-15 19:16:32 +02:00
Arne Döring
2339542832
Tuple error message ( #11141 ); fixes #3211
2019-05-15 17:59:06 +02:00
Araq
7fb256bded
fixes #8053
2019-05-15 12:25:31 +02:00
Arne Döring
5e68d8f9e9
less copy tree ( #11249 )
2019-05-15 12:11:03 +02:00
Andreas Rumpf
95f8ed0382
fixes #6732 ( #11255 )
2019-05-15 08:18:20 +02:00
Andreas Rumpf
9ecb24e443
fixes #88 ( #11243 )
2019-05-15 08:17:29 +02:00
Andreas Rumpf
651ae68567
fixes #11202
2019-05-14 12:02:26 +02:00
Andreas Rumpf
2fba65b29f
fixes #7937 ( #11244 )
2019-05-14 07:44:39 +02:00
Aditya Siram
a6d4421241
Fixes #9365 : let with exportC pragma in template. ( #11235 )
...
* Fixes #9365 : let with exportC pragma in template.
* Fix according to comments.
2019-05-14 01:34:32 +02:00
Arne Döring
55cf971adf
fixes #11194 ( #11242 )
2019-05-14 01:28:44 +02:00