LemonBoy
584d778318
Fix use of custom pragmas in generic procs ( #8165 )
...
Fixes #7626
2018-07-01 08:06:58 +02:00
Zahary Karadjov
5bcf8bcb59
fixes #7222 ; fixes #5595 ; fixes #3747
...
* late instantiation for the generic procs' default param values
* automatic mixin behaviour in concepts
Other fixes:
* don't render the automatically inserted default params in calls
* better rendering of tyFromExpr
2018-06-16 16:46:32 +03:00
Andreas Rumpf
5348fef003
implements a --nep1:on switch to make the compiler enforce the naming conventions outlined in NEP-1
2018-06-13 01:44:19 +02:00
Andreas Rumpf
40ec7be45c
refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly
2018-05-27 22:09:15 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02:00
Andreas Rumpf
328e7a1005
options.nim: no global variables anymore
2018-05-13 17:52:21 +02:00
Andreas Rumpf
dd35111ff2
semstmts compiles again
2018-05-12 19:45:19 +02:00
Araq
ee67a67ac4
first steps in adding template/macro calls to stack traces
2017-12-21 10:03:33 +01:00
Andreas Rumpf
617ba1a209
Merge branch 'devel' into araq
2017-11-07 11:17:20 +01:00
Andreas Rumpf
4e4d466d06
minor breaking change: for loop bodies now get their own scope
2017-11-05 16:53:05 +01:00
Andreas Rumpf
30b098fcaf
wip
2017-11-02 15:39:44 +01:00
Andreas Rumpf
1a61c4d46d
first implementation of the 'func' keyword
2017-09-23 23:22:53 +02:00
Andreas Rumpf
fd4ef6ae8f
.pure enums are much more convenient to use now
2017-09-17 17:36:37 +02:00
Zahary Karadjov
cd02561368
introduce a pre-processing pass for the concept bodies
...
fixes #4982
fixes #3805
close #3414
2017-06-20 11:29:42 +02:00
Andreas Rumpf
0d8a503e45
fixes #5597 ; wrong eager template instantiation in generic context ( #5601 )
2017-03-24 07:35:12 +01:00
Andreas Rumpf
3e7b04683c
make tests green again
2017-03-02 12:23:35 +01:00
Andreas Rumpf
22789a0bfc
fixes #5419
2017-02-24 00:32:14 +01:00
Dominik Picheta
1c233ba27a
More progress towards a working #3691 .
2017-02-03 19:50:22 +01:00
Dominik Picheta
656da1f6a9
WIP: as with generics.
2017-02-02 21:36:49 +01:00
Andreas Rumpf
01ae0d28d4
recursive modules are only detected to improve error messages
2016-11-24 12:27:21 +01:00
Andreas Rumpf
55e86184a5
fixes #4600
2016-08-23 01:29:30 +02:00
Andreas Rumpf
de6198c747
fixes #4555
2016-08-02 12:47:02 +02:00
Andreas Rumpf
39ebe2175b
compiler almost free of deprecated expr/stmt names
2016-07-30 16:34:42 +02:00
Andreas Rumpf
60b187513e
stdlib and compiler don't use .immediate anymore
2016-07-29 23:51:01 +02:00
Andreas Rumpf
1d186ee9c3
fixes #2377
2016-07-08 18:08:34 +02:00
Andreas Rumpf
03b64327ca
fixes a critical bug about template instantiations in generics
2016-06-05 16:43:20 +02:00
Andreas Rumpf
c1627354d1
first implementation of the new lambda-lifting pass; barely anything works
2015-12-26 00:42:30 +01:00
Araq
ba4dd92f45
fixes regression: NimForum compiles again
2015-09-21 15:49:48 +02:00
Araq
eb7f514933
fixes #3268
2015-09-18 10:11:37 +02:00
Araq
36f68e1650
fixes #3329
2015-09-18 02:24:12 +02:00
Araq
29a9166966
fixes the most pressing regressions introduced by the new handling of a[i] in the compiler
2015-09-16 15:34:54 +02:00
Araq
8ef66b973d
first attempt to fix 'a[i]' handling in generics
2015-09-12 10:55:28 +02:00
Araq
36a90c6044
fixes #1965
2015-08-10 01:31:42 +02:00
Araq
c733b3181e
breaking change: symbol lookups in generics follows spec more closely; fixes #2664
2015-08-07 21:28:45 +02:00
Max Zerzouri
9c126282b2
interpret tuple as a class and tuple[] as the empty tuple
...
When the indentation syntax is allowed it is always interpreted as a
tuple:
type
Unit = tuple
2015-03-06 12:20:15 +13:00
def
2647423502
Fix documentations for declared (instead of defined)
2015-02-18 01:55:50 +01:00
Araq
fe30ec83e2
nimsuggest improvements
2015-01-30 03:04:45 +01:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
Zahary Karadjov
b83b1383fb
fix #1056
2014-12-31 04:18:35 +02:00
Zahary Karadjov
da36a847a7
fix #1789 (binding to static params during generic proc sigmatch)
2014-12-31 01:45:23 +02:00
Araq
9280473eb1
fixes #1120
2014-12-25 17:22:41 +01:00
Araq
c45e89b486
fixes #1039
2014-11-28 09:32:37 +01:00
Araq
e1630dcc73
fixes #1337
2014-11-23 01:45:53 +01:00
Araq
729e048a32
fixes #940
2014-11-17 08:28:24 +01:00
Araq
569fbe8c37
'pretty' command does not exist anymore; improvements for nimfix
2014-09-10 02:19:46 +02:00
Araq
09ab1703e1
fixes #1444
2014-08-31 01:07:58 +02:00
Araq
5946747970
updated the compiler to use the new symbol names
2014-08-28 23:48:42 +02:00
Araq
2781fea9e2
Nimrod renamed to Nim
2014-08-28 09:38:14 +02:00
Araq
dbf9117c56
the big renamefest: first steps
2014-08-22 23:54:26 +02:00
Araq
49ad6fc3d4
fixes latest regression
2014-07-11 08:05:50 +02:00