Araq
4ec40796e6
fixes #9868
2018-12-11 10:28:56 +01:00
Andreas Rumpf
03c4231951
Merge pull request #9909 from nc-x/fix-regression
...
Fix enum regression
2018-12-11 08:36:15 +01:00
Neelesh Chandola
47c38cb98e
Better fix
2018-12-11 10:34:10 +05:30
Andreas Rumpf
cd81f368d1
Merge pull request #9826 from cooldome/destructor_move_them_all
...
destructors: sink`em all
2018-12-10 15:46:19 +01:00
Andrii Riabushenko
d22fa09000
minor correction
2018-12-10 09:20:43 +00:00
Andrii Riabushenko
8b7f416c37
reduce changes
2018-12-09 18:40:46 +00:00
Andrii Riabushenko
8a690fd530
Remove not used code
2018-12-09 18:38:21 +00:00
Andrii Riabushenko
97b9e8a435
remove not used code
2018-12-09 18:37:33 +00:00
Andrii Riabushenko
dc935f2b41
use control flow graph for sink params
2018-12-09 18:32:43 +00:00
Andreas Rumpf
606b43ba11
Merge pull request #9911 from nc-x/fixes-#9627
...
`include` now accepts collective arguments
2018-12-09 13:47:45 +01:00
Andreas Rumpf
9cafa5ac58
Merge pull request #9902 from arnetheduck/daily-clean
...
daily cruft removal
2018-12-09 12:59:28 +01:00
Andreas Rumpf
c16963083d
Merge pull request #9912 from nim-lang/araq-fixes-nested-gensym
...
fixes nested gensym'ed parameters; fixes #9476
2018-12-09 12:58:33 +01:00
Andreas Rumpf
8035f408f1
Merge pull request #9898 from cooldome/enum_notused
...
Enum fields get hintXDeclaredButNotUsed hint even marked with used pragma
2018-12-09 09:51:35 +01:00
Neelesh Chandola
e44641b6cb
Float values are invalid in enum
2018-12-09 14:20:01 +05:30
Neelesh Chandola
9aa783624d
include now accepts collective arguments
2018-12-09 12:33:58 +05:30
Neelesh Chandola
b0f860d90f
Fix enum regression
2018-12-09 10:28:34 +05:30
Andrii Riabushenko
e03fb08c24
change approach
2018-12-09 00:05:57 +00:00
Andrii Riabushenko
a50cfbf814
fix
2018-12-08 23:05:45 +00:00
Andrii Riabushenko
ae24b87219
Double sink checks
2018-12-08 23:04:38 +00:00
Araq
7a66616d74
fixes #9889 , fixes #9886
2018-12-08 23:48:20 +01:00
Timothee Cour
f838b1e6c1
fix #9872 : setLen now works properly at CT [backport]
2018-12-08 14:33:42 -08:00
Jacek Sieka
a65141fc0b
daily cruft removal
2018-12-08 13:36:38 -06:00
Andrii Riabushenko
e5b9d89bcf
style improvements
2018-12-08 19:20:34 +00:00
Andrii Riabushenko
0fdd7629b4
remove dropbits in favour of destructive moves
2018-12-08 19:18:00 +00:00
Araq
e874705971
fixes nested gensym'ed parameters; fixes #9476
2018-12-08 13:30:06 +01:00
Andrii Riabushenko
94a63eef9a
Fix hintXDeclaredButNotUsed for enum fields marked as used
2018-12-08 11:35:18 +00:00
Andrii Riabushenko
43c70a6b12
improve test
2018-12-07 22:25:32 +00:00
Andrii Riabushenko
d9815574c0
more undo
2018-12-07 22:14:46 +00:00
Andrii Riabushenko
948c625f95
undo more stuff
2018-12-07 22:11:34 +00:00
Andrii Riabushenko
961b7a9f66
undo more changes
2018-12-07 22:00:55 +00:00
Andrii Riabushenko
4799589fb3
undo some changes
2018-12-07 21:59:43 +00:00
Andreas Rumpf
d6dbc50793
Merge pull request #9873 from arnetheduck/uints-are-consts [bac,ö
...
allow uints to appear in deep constant expressions
2018-12-06 09:26:14 +01:00
Araq
7a0191ac7e
fixes #9441
2018-12-06 08:06:54 +01:00
Jacek Sieka
db51eb3e32
allow uints to appear in deep constant expressions
2018-12-05 20:33:49 -06:00
Andrii Riabushenko
135191d9d6
collapse to tables into one
2018-12-05 22:17:19 +00:00
Andrii Riabushenko
268461f06e
add comment
2018-12-05 21:45:01 +00:00
Andrii Riabushenko
972707440a
remove debug
2018-12-05 21:37:27 +00:00
Andrii Riabushenko
f46573c1ed
remove debug statements
2018-12-05 21:36:42 +00:00
Andrii Riabushenko
69347f6c95
implement everything
2018-12-05 21:33:15 +00:00
Andrii Riabushenko
938d3ffad7
add test
2018-12-05 19:29:14 +00:00
Araq
bc8cea2672
fixes #9614 [backport]
2018-12-05 19:49:37 +01:00
Araq
1711a60f7b
fixes #9868
2018-12-05 16:16:58 +01:00
Araq
9eaf99f7e6
lambdalifting: be consistent in its handling for 'func'
2018-12-05 11:25:47 +01:00
Araq
af815c3c18
fixes #9864 [backport]
2018-12-05 10:58:18 +01:00
Araq
d50336837d
IC: much faster caching
2018-12-04 22:41:06 +01:00
Andreas Rumpf
5abb6caed8
Don't use deprecated fmod in VM ( #9837 )
...
* Don't use deprecated fmod in VM
* Update changelog
2018-12-04 16:50:54 +01:00
Timothee Cour
d502ddea9e
fix #9832 (fixup) ( #9859 )
2018-12-04 16:48:08 +01:00
rec
e3e5ae287f
Fix fat pointers, object copying, magic double evals on JS ( #9411 ) [backport]
...
* Add a test for issue #9389
* Fixes #9389 .
* Make object contructors copy objects properly by checking whether the expressions passed to them don't need to be copied.
* Make mArrToSeq implementation actually check if a copy needs to be made.
* Avoid unnecessary copy in mChr impl
* Assume set constructor elements need no copy
* Add a test for issue #9410
* Add a test
* fix passing fat pointers (#9410 )
* Enhance tests
* More tests and fixes
* Add more (failing) tests [ci skip]
* Added equality operator for fat pointers, more tests and fixes
* Fix printing uninitialized strings
* Fix mInc, mDec double eval, add more tests
* Tests
* Refactored, fixed multiple evals, revamped the tests, added missing ops
* Fix ups
* Fix #9643 and #9644
* add pointer normalization
2018-12-04 12:04:27 +01:00
Jacek Sieka
07744b6e47
More dead code ( #9835 )
...
* remove more assignment flags
* needsComplexAssignment > containsGarbageCollectedRef
* remove OnStackShadowDup
2018-12-04 11:22:59 +01:00
Timothee Cour
05769020d3
fixes #9832 ( #9841 ) [backport]
2018-12-04 11:13:49 +01:00