Commit Graph

3929 Commits

Author SHA1 Message Date
cooldome
53cf0b2c24 Allow noreturn procs with void type (#6973) 2017-12-27 10:09:24 +01:00
cooldome
2b3ec0a7c6 Implement language feature #6885 (#6954) 2017-12-24 22:22:03 +01:00
Andreas Rumpf
c2d91771bc DFA works for simple examples 2017-12-21 19:05:23 +01:00
Andreas Rumpf
da90657317 make the new --genDeps feature optional since it makes compilations slower 2017-12-21 17:14:31 +01:00
Andreas Rumpf
5516fee1a7 Merge branch 'compile-deps' of https://github.com/pyokagan/Nim into pyokagan-compile-deps 2017-12-21 17:00:54 +01:00
Araq
e0e1241a54 move securehash back into the stdlib 2017-12-21 12:34:38 +01:00
Araq
0181253eea fixes #6949 2017-12-21 12:34:38 +01:00
konqoro
3495c0a46d Fix json generation logic (#6909) 2017-12-21 11:26:02 +01:00
Zahary Karadjov
2ceee884fe fix #6462 2017-12-21 11:08:45 +01:00
Zahary Karadjov
057d5789ba fix #6277 2017-12-21 11:06:36 +01:00
Zahary Karadjov
70380882c5 fix #6108 2017-12-21 11:04:05 +01:00
Araq
77d56aaff6 cleanup times.nim 2017-12-21 10:11:45 +01:00
Araq
218679fc95 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-21 10:03:56 +01:00
Araq
ee67a67ac4 first steps in adding template/macro calls to stack traces 2017-12-21 10:03:33 +01:00
Mathias Stearn
07fe1aa655 Use escape sequences rather than hex in string/char literals (#6941)
This should makes documentation easier to read for people who haven't
committed the ascii table to memory.
2017-12-18 17:49:49 +01:00
Araq
ed616664f7 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-18 13:13:10 +01:00
Araq
2502f86d2f next steps in giving Nim a decent DFA infrastructure 2017-12-18 13:12:10 +01:00
cooldome
3659fec725 Alternative fix for #4910 that covers #6892; fixes #6892 (#6938) 2017-12-17 23:56:21 +01:00
Araq
d244508b8a fixes #6932 2017-12-17 14:23:57 +01:00
Araq
eab46c5b7e runnableExamples feature: allow import statements and move them to the top level 2017-12-17 13:42:56 +01:00
Araq
e06d76669a renderer.nim: fixes a long standing bug that kept triple string literals from being rendered properly 2017-12-17 13:15:19 +01:00
Araq
7a711cc8e1 cleanup of the Intel compiler handling; refs #6488 2017-12-15 19:12:39 +01:00
Eduardo Bart
7c3e00d469 Fix icc compiler on linux (#6488) 2017-12-15 17:01:23 +01:00
Araq
0d744cccc2 make boostrapping work 2017-12-15 16:46:27 +01:00
Araq
d68be11fea Merge branch 'issue-6805' of https://github.com/Veladus/Nim into Veladus-issue-6805 2017-12-15 16:44:01 +01:00
Araq
e0591d4941 fixes #6626 2017-12-15 15:33:43 +01:00
Araq
be87fe9176 make tests green again 2017-12-15 13:24:47 +01:00
Araq
8db5b32ff7 make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693 2017-12-15 12:16:03 +01:00
Araq
8decf0f5ce make JS tests green again 2017-12-15 11:34:17 +01:00
Araq
a5e4d2f7a3 fixes #668 2017-12-15 11:21:49 +01:00
Araq
1bb086e7a8 fixes #5999 2017-12-14 20:55:02 +01:00
Araq
da2f689e09 fixes #6033 2017-12-14 20:49:08 +01:00
Andreas Rumpf
be16dfd195 make tests green again 2017-12-13 22:16:37 +01:00
Araq
c35788b97c make hidden visibility the default for Unix 2017-12-13 14:37:19 +01:00
Gerke Max Preussner
d3f966922e Fixed koch warning when installing Nim. (#6898) 2017-12-12 14:43:12 +01:00
Veladus
56aa16b1de removed unused constants 2017-12-11 22:09:29 +01:00
Veladus
15f72d0cf1 Now analyzes over magics instead of symbol names; but dosn't compile for me 2017-12-11 21:49:28 +01:00
Veladus
a15ddf4013 Improved error reporting 2017-12-11 21:48:22 +01:00
Andreas Rumpf
e8a52a0fc2 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-09 13:40:16 +01:00
Andreas Rumpf
14f2578604 fixes crash related to runnableExamples in Nim doc that yet uses the VM 2017-12-09 13:40:08 +01:00
jcosborn
96a5062b8c modify getTypeImpl to reduce result to final implementation (#6891)
* added test case for getTypeImpl
* modify getTypeImpl to reduce result to final implementation
2017-12-09 13:07:37 +01:00
Andreas Rumpf
f70d967d2c fixes #6889 2017-12-08 23:31:06 +01:00
Araq
b0c682de4d Merge branch 'devel' into araq-new-mm2 2017-12-08 10:06:56 +01:00
Araq
eae1aaa377 fixes another sighashes problem 2017-12-08 10:06:20 +01:00
Araq
00a230e5d8 Leak detector: give more info for anon ref objects 2017-12-08 09:19:55 +01:00
Charlie Barto
c7ba4d91a3 add dynlibOverrideAll switch (#6873) 2017-12-06 09:56:44 +01:00
jcosborn
35d7a99b6a fix getTypeInst for tyGenericInst (#6868) 2017-12-04 17:37:25 +01:00
Veladus
2c886823e7 Fixed for diffrent Typeids of Excpetion for diffrent compilation units 2017-12-02 20:57:18 +01:00
Veladus
6a2b31226e Compiler now catches when an expression is raised which is no Exception 2017-12-02 17:54:35 +01:00
Alexander Ivanov
1699d7c2a4 Implement codegenDecl for js (#6851) 2017-12-01 15:42:10 +01:00