Commit Graph

247 Commits

Author SHA1 Message Date
Araq
fd80a51547 fixes #2594 2015-09-18 12:07:39 +02:00
Araq
0aa908c86c clarify the meaning of the 'auto' metatype; 'auto' is now bind-multiple; fixes #3224 2015-09-14 20:25:52 +02:00
Araq
612cd25d5d usage of NimNode triggers .compileTime context; fixes #1679 2015-09-14 12:41:49 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
Araq
63cdcb2be1 implicit return types for iterators are now deprecated 2015-09-10 15:57:57 +02:00
Araq
f934c92132 fixes #3096 2015-08-09 23:37:13 +02:00
Araq
1b4116702b fixes #3052 2015-08-02 02:56:02 +02:00
Araq
b0b716fca7 fixes #3079, fixes #1146, fixes #2879 2015-07-22 16:32:56 +02:00
Araq
7011275f13 fixes #3062 2015-07-05 15:00:46 +02:00
Araq
2d196442fa fixes #3048, fixes #3047 2015-07-03 10:31:49 +02:00
Araq
cdc6529ccf fixes #3038 2015-07-03 00:20:34 +02:00
Araq
c314f8e65e fixes #3040 2015-07-02 23:04:46 +02:00
Araq
cabbcd411d implements varargs[untyped]; refs #2545; to be documented 2015-07-02 16:18:11 +02:00
Araq
85bcc14f7f fixes #2607 2015-04-26 22:44:06 +02:00
Araq
13c5f792dc fixes #2447 2015-04-22 16:11:51 +02:00
Araq
e55f5d1fd4 fixes #2505, fixes #1853, fixes #2522 2015-04-20 21:25:49 +02:00
Araq
06feaef64a fixes #1658 2015-04-11 10:01:12 +02:00
Araq
a1b937ab33 fixes #1691 2015-04-11 10:01:11 +02:00
def
39049e151f Get rid of deprecation warnings 2015-04-07 15:47:18 +02:00
Araq
7720c0aafd fixes a regression related to the new typeOf parsing 2015-03-27 02:13:51 +01:00
Araq
e680e43fc2 fixes #2405 2015-03-25 14:50:08 +01:00
Araq
765f274629 fixes #1783 2015-03-23 00:09:34 +01:00
Araq
a541be8935 prepare for upcoming parsing change of unary operators 2015-03-22 09:31:15 +01:00
Araq
bf90b9c833 fixes #2346 2015-03-16 23:02:20 +01:00
Araq
13cdad8819 fixes #2304 2015-03-16 23:02:18 +01:00
def
d77c883911 globalError instead of localError when failing infinite recursion
globalError throws an exception, so this works for `nim check` as well.
2015-03-13 17:17:42 +01:00
def
c19d6cb620 Fix infinite recursion in semtypes with recursive types
Fixes #2213
2015-03-13 02:17:46 +01:00
Max Zerzouri
dba25d2622 enable syntax for anonymous tuples.
Turns out to be slightly problematic as `(int, int)` could be logically
thought of as an expression evaluating to a tuple value containing
two typedesc[int]s.

To disambiguate, the zero-tuple's type must still be written as
`tuple[]`, and what would be tuple value expressions containing only
typedescs are interpreted as types.

() # value of type `tuple[]`
(int, int) # tuple type
(int, int, ()) # value of type `(typedesc[int], typedesc[int], tuple[])`
2015-03-06 12:23:31 +13: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
Araq
b870744d5d makes Aporia build for 64bit archs 2015-03-03 13:53:31 +01:00
Araq
9053799bf5 fixes #2216 2015-02-26 02:05:23 +01:00
Araq
fce2ff161e tsigtypeop.nim works again 2015-02-25 21:36:43 +01:00
Hans Raaf
79384ea729 Allow empty sets in case/of branches.
Added support for conditional compilation using 'when' with empty sets and arrays in
'case of' branches.

 Please enter the commit message for your changes. Lines starting
2015-02-24 14:54:27 +01:00
Araq
752052e903 implements a type API for macros 2015-02-24 00:13:28 +01:00
Araq
1e6aef62ba macros.PNimrodNode is now NimNode 2015-02-24 00:13:27 +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
247af96b00 cleaned up some tests 2015-02-10 20:19:45 +01:00
Araq
52e297c4e1 fixes #1956 2015-02-08 13:38:05 +01:00
Araq
b5f1957588 fixes #2057 2015-02-04 12:51:54 +01:00
Araq
fe30ec83e2 nimsuggest improvements 2015-01-30 03:04:45 +01:00
Araq
5f6131cbdc fixes #1944 2015-01-18 14:44:16 +01:00
Araq
9d0ae03918 fixes #1838 2015-01-11 13:51:30 +01:00
Araq
fd10866ae3 fixes #1919 2015-01-11 02:23:39 +01:00
Zahary Karadjov
05cbbac4e5 support for static params in the user defined type classes 2015-01-02 23:58:24 +02:00
Zahary Karadjov
aa69a8a09f expand the test case for bug 1049 2015-01-02 23:58:24 +02:00
Zahary Karadjov
da36a847a7 fix #1789 (binding to static params during generic proc sigmatch) 2014-12-31 01:45:23 +02:00
Araq
18cbd51600 fixes #1187 2014-12-19 12:53:51 +01:00
Araq
e9619d7278 fixes #1655 2014-12-17 01:11:30 +01:00
Araq
61c5c92f09 fixes #1656 2014-12-15 02:15:11 +01:00