Commit Graph

237 Commits

Author SHA1 Message Date
Araq
9cc25f8b77 fixes #3452 2015-10-22 12:14:32 +02:00
Araq
1c0b815282 fixes #3305; error message will improve with later improvements for concepts 2015-09-18 02:24:13 +02:00
Araq
36f68e1650 fixes #3329 2015-09-18 02:24:12 +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
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +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
Peter Mora
6da8c7857e extending metatype matching in sigmatch.nim 2015-08-21 21:15:08 +02:00
Araq
5409142120 fix recently introduced regressions 2015-07-22 18:49:18 +02:00
Araq
b0b716fca7 fixes #3079, fixes #1146, fixes #2879 2015-07-22 16:32:56 +02:00
Araq
bbf7e18e5b varargs[untyped] actually works 2015-07-02 21:22:56 +02:00
Araq
560cfd48fc fixes broken merge 2015-07-02 16:29:22 +02:00
Araq
cabbcd411d implements varargs[untyped]; refs #2545; to be documented 2015-07-02 16:18:11 +02:00
Araq
b159fc3b34 fixes #2993 2015-07-01 17:42:12 +02:00
r-ku
1a14e9d366 Fixes #3022 2015-06-30 17:52:18 +03:00
Araq
47658cd426 fixes #2974 2015-06-25 11:42:29 +02:00
patrick dw
2a0f7b5de7 renamed writeln to writeLine in compiler 2015-06-19 01:45:12 -05:00
Billingsly Wetherfordshire
87c8d586b5 string only matches for openarray not varargs 2015-06-01 07:37:36 -05:00
Billingsly Wetherfordshire
f3b8a3cbbc made string compatible with openarray[char] 2015-06-01 06:04:22 -05:00
Adam Strzelecki
179d82c55b Fix #2662: Don't convert subtype typedesc params
There is no point to issue implicit HiddenStdConv encountering subtype of
typedesc[Base] parameter on overload resolution, since this will anyway never
reach codegen. This change effectively fixes compiler bug for:

  iterator it(T: typedesc[Base]) = ...
  for s in it(SubclassOfBase): ...

Where HiddenStdConv triggered implicit instantiation of variable of type
typedesc[Base] in for transform, that eventually fails at getUniqueType, that
refuses to work for typedesc.
2015-05-13 19:10:54 +02:00
Araq
26eae7d00e fixes #2470, fixes #1354 2015-04-28 20:21:53 +02:00
Araq
b34bd3b163 fixes #2577 2015-04-27 23:11:58 +02:00
Araq
e40b667891 fixes regression: overloading by 'var' 2015-04-25 23:17:00 +02:00
Araq
2c91e999e2 fixes #2600 2015-04-25 23:16:58 +02:00
Araq
e55f5d1fd4 fixes #2505, fixes #1853, fixes #2522 2015-04-20 21:25:49 +02:00
Araq
49471440eb fixes #2481 2015-04-10 14:03:49 +02:00
Araq
3a9500f7b1 fixes #2500 2015-04-10 14:03:47 +02:00
Araq
78f371c03a first implementation of overloading of '='; missing: rewriting let/var sections 2015-04-06 23:21:51 +02:00
Araq
f767e1749e don't store the scope for routines 2015-04-04 01:19:31 +02:00
Araq
019faf00bf fixes #2397 2015-03-25 11:50:38 +01:00
Araq
3bcafb1c3a concept example from the manual now works again 2015-03-23 13:10:19 +01:00
Araq
0d804c2052 fixes #2266 2015-03-22 01:38:14 +01:00
Araq
508e8bd686 fixes #2221 2015-03-21 20:38:26 +01:00
Araq
13cdad8819 fixes #2304 2015-03-16 23:02:18 +01:00
Araq
d4bca58b7d fixes #1809; implements overloading based on 'var T' 2015-03-14 22:21:43 +01:00
Araq
1efb5174f2 fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be used 2015-03-10 12:32:46 +01:00
Araq
d58212ccc5 fixes #1940; code breakage! stricter template evaluation 2015-03-07 15:43:36 +01:00
Araq
cac259cdfb fixes #2229 2015-03-05 20:39:25 +01:00
Araq
24ae0c387f some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
Araq
2ebeb0bd21 fixes #2169 2015-02-28 20:13:21 +01:00
Araq
d4a8bde617 added a comment 2015-02-26 02:05:24 +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
Araq
b7f11b8b0a fixes #2125 2015-02-18 13:44:01 +01:00
def
e686ca2523 Fix a few more warnings 2015-02-17 02:22:30 +01:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
Araq
442dc30922 fixes endless recursion with static type parameters 2015-02-14 21:47:21 +01:00
Araq
61db30727b Aporia compiles again (disabling thread analysis is horrible!) 2015-02-12 15:14:46 +01:00
Araq
c4eddb3fda ordinary parameters can follow a varargs parameter 2015-02-12 14:56:57 +01:00
Araq
247af96b00 cleaned up some tests 2015-02-10 20:19:45 +01:00