Andreas Rumpf
dc4b2c920c
fixes #4328
2016-07-19 19:27:38 +02:00
Andreas Rumpf
267855f9fb
make tests green again
2016-07-18 14:57:22 +02:00
Andreas Rumpf
d779a9b722
fixes #4478
2016-07-18 12:16:54 +02:00
Andreas Rumpf
995727ffd0
decent error message for 'var T' problems
2016-07-15 00:22:14 +02:00
Kier Davis
56015e52b9
Fix #4475
...
Existing implementation would append the default value for a varargs parameter (the empty array) to the end of the sons of the
nnkCall node, rather than storing it into the correct index. This left the location where it should have been stored set to
its default value of nil, causing later code that uses this node to segfault.
2016-07-11 14:53:39 +01:00
Andreas Rumpf
b47d9b7b91
fixes #4371
2016-07-08 10:34:12 +02:00
Anatoly Galiulin
bef7f72636
Accumulate penalties
2016-06-27 09:16:19 +06:00
Anatoly Galiulin
75cca15c65
Speedup generic relations detection
2016-06-24 15:22:22 +06:00
Anatoly Galiulin
764668d099
Fix generics inheritance issues
2016-06-23 18:37:14 +06:00
Andreas Rumpf
1d44fee399
hotfix: don't crash for wrong template calls
2016-06-03 23:07:07 +02:00
Andreas Rumpf
6ff66bfd51
improve error messages for mismatched templates involving 'untyped' and stmts
2016-05-27 19:18:08 +02:00
Araq
875132bf46
fixes a varargs[untyped] bug that kept strscans from compiling
2016-05-10 22:03:07 +02:00
Andreas Rumpf
f348671ba7
fixes #3544
2016-04-30 01:12:36 +02:00
Andreas Rumpf
af70254c7b
fixes #2006
2016-04-04 16:41:35 +02:00
Andreas Rumpf
0378f9980f
fixed regressions
2016-03-29 12:19:49 +02:00
Andreas Rumpf
e97d640ce8
fixes #3998
2016-03-28 02:26:38 +02:00
Andreas Rumpf
00c4861208
fixes #3836
2016-03-04 22:18:58 +01:00
Andreas Rumpf
312281c7cc
fixes #3686
2016-03-01 23:07:22 +01:00
Andreas Rumpf
1afdefcbe9
added experimental .this pragma
2016-02-28 03:17:20 +01:00
Araq
7ee1847137
fixes #3584
2016-01-18 14:54:35 +01:00
Andreas Rumpf
6fbde1f4fb
fixes another regression
2016-01-13 11:36:34 +01:00
Andreas Rumpf
c1627354d1
first implementation of the new lambda-lifting pass; barely anything works
2015-12-26 00:42:30 +01:00
Araq
760242b870
removes 'x is iterator' special casing in the language
2015-12-03 01:08:03 +01:00
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