Neelesh Chandola
fa4644006a
Check for ordinal type
2018-12-13 14:12:22 +05:30
Neelesh Chandola
b2411db541
Merge remote-tracking branch 'upstream/devel' into record-case
2018-12-13 13:59:46 +05:30
Neelesh Chandola
a3c4791e9c
Give error when case has an else branch even though all cases are already covered ( #9930 )
...
* Give error when case has an else branch even though all cases are already covered.
* Don't check for invalid else for type tyFloat..tyFloat128, tyString, tyError
* Remove unnecessary else in unittest.nim
* Fix sockets.nim
2018-12-13 09:08:10 +01:00
Neelesh Chandola
bb85869237
Undefine some symbols and globalOptions when processing nimscript ( #9945 ) [backport]
...
* Undefine some symbols when processing nimscript
* Undefine taintMode when processing nimscript
* Reload .cfg configuration
2018-12-13 09:05:24 +01:00
Neelesh Chandola
1f1d7b1088
Fix semRecordCase
2018-12-13 12:11:56 +05:30
Neelesh Chandola
b245b80e72
Fix nimsuggest build with clang on windows
2018-12-13 02:16:29 +05:30
Andreas Rumpf
e4ae7a8929
Merge pull request #8748 from LemonBoy/when-in-objects
...
Pervasive replacement of nkRecWhen in generic types
2018-12-12 18:19:52 +01:00
Araq
0ab1229c69
resolve merge conflicts
2018-12-12 18:16:53 +01:00
Andreas Rumpf
d9ae9201c4
Merge pull request #9937 from cooldome/pragmablock_custom_pragma
...
Language feature: implement custom pragmas in pragma blocks
2018-12-12 10:15:25 +01:00
Andrii Riabushenko
df0f0f2858
custom pragmas in pragma blocks
2018-12-11 23:35:46 +00:00
Andreas Rumpf
c682671fea
minor cleanups
2018-12-11 23:07:36 +01:00
Andreas Rumpf
c58f430e2e
Merge pull request #9916 from timotheecour/pr_ref_9906_errorMax
...
refs #9906 ; --errorMax:10 allows stopping after 10 errors (more robust than nim check)
2018-12-11 22:14:08 +01:00
Andreas Rumpf
3695819018
cleanup main.nim's code style
2018-12-11 22:06:15 +01:00
Andreas Rumpf
5ffa9a8be6
destructors: defensive programming against wrong generated destructor for string/seq
2018-12-11 22:02:18 +01:00
Andreas Rumpf
d20a273215
Merge pull request #9917 from timotheecour/pr_dump_msg
...
enhance `dump --dump.format:json` : report `out`, `hints`, `warnings`, document it ; closes #9513
2018-12-11 22:01:28 +01:00
Andreas Rumpf
bb1ce398af
Merge pull request #9881 from timotheecour/pr_ref_9880
...
refs #9880 show index and bound in lots of `index out of bounds` errors
2018-12-11 21:49:08 +01:00
Araq
46820b94a6
the linking step doesn't mind Windows' 8K command line limit anymore
2018-12-11 21:23:24 +01:00
Araq
77272ceb3c
fixes extccomp regressions
2018-12-11 21:23:24 +01:00
Araq
044c7d0921
fixes extccomp regressions
2018-12-11 21:23:23 +01:00
Araq
1946d1a61d
fixes extccomp regressions
2018-12-11 21:23:23 +01:00
Araq
8896770f8f
workaround against silly Windows command line length limitations for the upcoming megatest.nim
2018-12-11 21:23:23 +01:00
Arne Döring
2a4c09ff88
megatest can be executed
2018-12-11 21:23:21 +01:00
Andreas Rumpf
a8b53c97ee
Merge pull request #9929 from nc-x/fix-js-regression
...
tyProc does not require copying in JS codegen
2018-12-11 14:29:58 +01:00
Andreas Rumpf
6924b33141
Merge pull request #9924 from cooldome/destructor_hotfix
...
destructor hot fix
2018-12-11 12:47:23 +01:00
Araq
366b6be4fb
compiler refactoring: TSymSeq is gone for good
2018-12-11 12:37:05 +01:00
Neelesh Chandola
685a5544c4
tyProc does not require copying in JS codegen
2018-12-11 16:58:36 +05:30
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
Andrii Riabushenko
a9978db42f
destructor_hotfix
2018-12-10 23:23:46 +00:00
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
Timothee Cour
9d10278a9c
--errorMax:0 means: unlimited
2018-12-09 23:39:57 -08:00
Timothee Cour
fc7b3a7c2a
enhance dump --dump.format:json
2018-12-09 21:45:15 -08:00
Timothee Cour
daaf50ae03
refs #9906 ; --errorMax:10 allows stopping after 10 errors
2018-12-09 19:11:08 -08:00
Timothee Cour
f3ecc15a94
refs #9880 show index and bound in lots of index out of bounds errors
2018-12-09 16:50:45 -08: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