Araq
6ca38472a1
cleanups for underscores in tuple unpacking
2015-04-24 13:08:42 +02:00
Andreas Rumpf
3e000f4e36
Merge pull request #2437 from Araq/underscore-tuple-unpack
...
Implements #2154 .
2015-04-24 12:32:57 +02:00
Araq
0c947f31ba
system.locals is now a plugin for education
2015-04-24 02:08:06 +02:00
Dominik Picheta
f0f0062a5d
Add sfGenSym for (_).
2015-04-23 00:29:16 +01:00
Dominik Picheta
9e69e4e078
Merge branch 'devel' into underscore-tuple-unpack
...
Conflicts:
compiler/semstmts.nim
2015-04-23 00:26:17 +01:00
Araq
670367e13b
fixes #2508
2015-04-11 10:01:10 +02:00
Araq
05e39cf6ad
overloading of '=' works
2015-04-06 23:21:52 +02:00
Araq
78f371c03a
first implementation of overloading of '='; missing: rewriting let/var sections
2015-04-06 23:21:51 +02:00
Dominik Picheta
c35fc2bb03
Rewrite in order to not introduce a new node kind.
2015-04-05 15:46:56 +01:00
Araq
f767e1749e
don't store the scope for routines
2015-04-04 01:19:31 +02:00
Dominik Picheta
b38eb2e2a8
Implements #2154 .
...
When unpacking tuples in var/let declarations a part of the tuple can now
be discarded using a single underscore.
2015-03-31 00:39:23 +01:00
Araq
2b80d75aa2
fixes #2420 ; negative indexing for slicing is obsolete (breaking change!)
2015-03-28 00:15:04 +01:00
Araq
117903a6ae
fixes #2400
2015-03-25 13:02:15 +01:00
Simon Hafner
8993c7672d
do not warn about gensym'd results
2015-03-11 19:21:27 -05:00
Araq
1efb5174f2
fixes #2220 ; #2219 ; breaks #2022 ; for #2022 callsite needs to be used
2015-03-10 12:32:46 +01:00
Andreas Rumpf
38b9093581
Merge pull request #2274 from reactormonk/warning-for-result
...
Warning for result
2015-03-08 14:49:49 +01:00
Max Zerzouri
7527da7043
.n.isNil checks for tyTuple PTypes.
2015-03-07 17:56:29 +13:00
Simon Hafner
70eaf92ff0
Merge branch 'devel' into warning-for-result
2015-03-05 14:44:54 -06:00
Araq
24ae0c387f
some love for the testsuite; fixed regressions
2015-03-01 21:41:21 +01:00
Araq
05233de66c
reprocess pragmas after macro annotation for SqueakNim
2015-02-27 16:44:55 +01:00
Federico Ceratto
657dca5c3b
Fix typos
2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
e371bb3e26
fixes #1131
2015-02-10 20:19:46 +01:00
Araq
ada0f14711
fixes #2073
2015-02-08 14:15:02 +01:00
Araq
b5f1957588
fixes #2057
2015-02-04 12:51:54 +01:00
Simon Hafner
a1d813d12c
added a warning for when result is shadowed #868
2015-02-01 05:28:35 -06:00
Araq
fe30ec83e2
nimsuggest improvements
2015-01-30 03:04:45 +01:00
Araq
995510664e
non-destructible context only produces a warning for now
2015-01-24 00:24:14 +01:00
Araq
5ae8689b63
better error message for 'invalid type'
2015-01-23 00:36:56 +01:00
Araq
b9079b8713
fixes #1915
2015-01-12 02:00:37 +01:00
Araq
ba7ef4e30f
fixes #1903
2015-01-11 02:05:22 +01:00
Araq
8cb31d86b6
fixes tconfusing_arrow bug
2015-01-10 23:52:29 +01:00
Zahary Karadjov
05cbbac4e5
support for static params in the user defined type classes
2015-01-02 23:58:24 +02:00
Araq
2ee2401336
fixes #1774
2014-12-31 16:07:56 +01:00
Araq
9280473eb1
fixes #1120
2014-12-25 17:22:41 +01:00
Araq
2be3f501a1
fixes #1742
2014-12-24 13:02:58 +01:00
Araq
7deb8b2e7b
fixed typos so docgen works again
2014-12-20 22:39:05 +01:00
Araq
6e6c3d2f1e
extracted the fields iterator magic to its own file
2014-12-12 18:25:52 +01:00
Araq
85cc5a6a1f
destuctors are experimental; 'func' is now a keyword
2014-12-10 01:57:08 +01:00
Araq
e27ab36731
implements 'defer'
2014-12-04 10:12:32 +01:00
Araq
ee9c70e034
user defined pragmas work for generics instantiated in different modules
2014-11-06 00:21:39 +01:00
Araq
4616a1e006
updated some tests
2014-10-04 14:23:17 +02:00
Araq
c99ec16544
deprecated string case statements without 'else'
2014-10-02 10:08:41 +02:00
Araq
1088814e56
deepCopy is instantiated when its corresponding type is instantiated
2014-09-26 09:36:09 +02:00
Araq
3866820eee
made some tests green
2014-09-21 23:57:54 +02:00
Araq
7916b1f9aa
implemented 'guard' annotation
2014-09-21 18:39:00 +02:00
Araq
e24996de7c
minor changes to manual.txt
2014-09-13 17:53:35 +02:00
Araq
569fbe8c37
'pretty' command does not exist anymore; improvements for nimfix
2014-09-10 02:19:46 +02:00
Araq
a90f73ca4c
nimfix can fix obsolete statement comments
2014-09-08 00:58:29 +02:00
Zahary Karadjov
9a3963f51b
fix #959
...
Variable declarations using a type class will be subject to type inference similar to the one
already present in type coercions and the return type inference.
2014-09-04 23:50:00 +03:00