Commit Graph

3743 Commits

Author SHA1 Message Date
Andreas Rumpf
fa17707684 Merge pull request #3307 from rogercloud/devel
Fix issue #2245
2015-09-14 17:37:54 +02:00
Araq
f79ec6cdf5 make the compiler less verbose 2015-09-14 15:13:08 +02:00
Yuriy Glukhov
aeff57627b Fixed JS gen for generic array types. 2015-09-14 14:30:08 +03:00
Araq
612cd25d5d usage of NimNode triggers .compileTime context; fixes #1679 2015-09-14 12:41:49 +02:00
Araq
14354b436f fixes #2599 2015-09-13 23:26:44 +02:00
Araq
e01e0a4b40 next steps in binding [] properly 2015-09-13 22:42:21 +02:00
Araq
03d8467942 Merge branch 'devel' into fix_bracket_expr 2015-09-12 20:42:27 +02:00
Araq
c27019f4d9 fixes generic instantations in concepts 2015-09-12 19:40:08 +02:00
Araq
bf698fbc2a fixes some regressions 2015-09-12 13:32:51 +02:00
Araq
5aaf2f0c31 preparations for better handling of 'a[i]' in generics; stmt lists can be lvalues 2015-09-12 11:07:49 +02:00
Araq
1562f74500 implicit return types for iterators are now deprecated 2015-09-12 11:07:48 +02:00
Araq
afc891de65 fixes #1528 2015-09-12 11:07:47 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
Araq
2a797c362a preparations for better handling of 'a[i]' in generics; stmt lists can be lvalues 2015-09-12 10:51:20 +02:00
Araq
63cdcb2be1 implicit return types for iterators are now deprecated 2015-09-10 15:57:57 +02:00
Araq
34ab1d3e34 fixes #1528 2015-09-10 13:20:15 +02:00
Araq
051e418129 fixes Nim's bigbang regression 2015-09-10 12:20:02 +02:00
Araq
d7a472743b fixes #2559 2015-09-10 10:50:29 +02:00
Araq
ffe51966b9 fixes a critical codegen bug triggered by .async 2015-09-10 10:50:29 +02:00
Andreas Rumpf
0c7d52e34c Merge pull request #3274 from yglukhov/seq-insert-js-fix
Fixed seq.insert and seq.delete for js.
2015-09-09 17:32:55 +02:00
Araq
ca9c1968d8 fixes typo 2015-09-09 09:39:48 +02:00
Araq
d5c5fd425f fixes #3230 2015-09-09 09:39:47 +02:00
Roger Shi
6b8bd2bbb7 Fix issue #2245 2015-09-08 23:32:53 +08:00
Araq
494431e3b4 gangbang support for NimScript 2015-09-08 10:22:15 +02:00
Yuriy Glukhov
b3cecddd64 Fixed seq.insert and seq.delete for js. 2015-09-07 18:10:45 +03:00
Andreas Rumpf
217a30a2e0 Merge pull request #3293 from Matt14916/usebase-msg-fix
Replace incorrect warning string.
2015-09-07 16:36:46 +02:00
Andreas Rumpf
5e5d5b6fe0 Merge pull request #3295 from nanoant/patch/fix-type-to-string-flags
typeToString: Fix shared/not nil on complex types
2015-09-07 16:35:51 +02:00
Yuriy Glukhov
4ef4ad305c Fixed nimvm in generics. 2015-09-07 13:49:32 +03:00
Araq
a480bebfce Nimscript: documented; 'exec' now produces output immediately 2015-09-07 12:31:35 +02:00
Adam Strzelecki
167acf4530 typeToString: Fix shared/not nil on complex types
Previously `not nil` flag was not shown on `cstring or nil` or `PType not nil`,
where `type PType = ref Type`, eg. when showing compiler diagnostics.
2015-09-06 20:17:06 +02:00
Matt Sullivan
caf0cd9e05 Replace incorrect warning string. 2015-09-05 22:16:35 -05:00
Araq
dc047931bb fixes #2590; methods now require a .base annotation 2015-09-06 02:31:28 +02:00
Yuriy Glukhov
04a4f35400 VM produces objects. 2015-09-05 14:18:37 +03:00
Andreas Rumpf
63a6bfce71 Merge pull request #3286 from yglukhov/when-nimvm
when nimvm stmt
2015-09-05 10:03:35 +02:00
Adam Strzelecki
d681812465 compiler: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:22 +02:00
Yuriy Glukhov
790ef23c48 nimvm is magic 2015-09-04 20:50:29 +03:00
Yuriy Glukhov
49869a2b10 when nimvm stmt proof of concept 2015-09-04 20:50:29 +03:00
Araq
178275f494 split os into os and ospaths parts; ospaths is available for NimScript; better NimScript support 2015-09-04 12:22:23 +02:00
Araq
a373bdd0c9 improvements for NimScript support 2015-09-03 14:30:11 +02:00
Araq
aa8da7f031 optimized writetracking 2015-09-03 14:30:09 +02:00
Araq
6fc01d1501 'var T' doesn't imply escaping 2015-09-02 00:55:31 +02:00
Araq
940b3ceca8 write tracking: leaner code; minor bug fixes (still unusable) 2015-08-31 23:06:35 +02:00
Araq
e733debec7 first implementation of write tracking and escape analysis; still disabled 2015-08-31 23:06:34 +02:00
Andreas Rumpf
c718e0eb2d Merge pull request #3242 from yglukhov/byvar-fix
JS: Fixed passing byvar
2015-08-28 18:28:54 +02:00
Araq
370781b773 update Visual Studio command line flags 2015-08-27 01:01:58 +02:00
Keerthan Jaic
66ff1792fa add msp430 cpu support 2015-08-26 00:00:46 -04:00
Andreas Rumpf
19f58704ee Merge pull request #3234 from petermora/mapAutoAuto
extending metatype matching in sigmatch.nim
2015-08-25 22:21:40 +02:00
Yuriy Glukhov
a66b968d3b Fixed passing byvar 2015-08-25 15:47:34 +03:00
Andreas Rumpf
5cfce2623b Merge pull request #3160 from r-ku/coroutines
Coroutines
2015-08-25 10:54:05 +02:00
Araq
bfd2fd67f9 tuple unpacking works in a non-var/let context 2015-08-21 21:34:14 +02:00