Commit Graph

70 Commits

Author SHA1 Message Date
Araq
f673fbd91f fixes #6533 2018-10-02 19:54:02 +02:00
Mamy Ratsimbazafy
bccaa36aba Tests for v1 closed generics/static issues (#8572)
* Add tests to confirm https://github.com/nim-lang/Nim/issues/7231 is fixed.

* Add test for closed https://github.com/nim-lang/Nim/issues/6137

* Add test for https://github.com/nim-lang/Nim/issues/7141
2018-08-08 17:49:33 +02:00
Andreas Rumpf
ae82406c8b make tests green again 2018-07-05 19:14:18 +02:00
Zahary Karadjov
16b594b532 Support default type parameters
progress on #7516
2018-06-16 16:46:32 +03:00
Zahary Karadjov
a49b06a52a Implement the is operator for the new static and typedesc type classes
This also makes the first baby steps towards a sound treatment of
higher-order kinds (type type int).

Adds test cases showcasing the new features.

* Also fixes breakage after the rebase
2018-06-16 16:46:32 +03:00
Andreas Rumpf
74fe7a800b make tests green again 2018-05-02 13:34:54 +02:00
Araq
8ae0ac8637 make tests green again 2018-04-07 00:39:33 +02:00
Araq
8b7c2bd067 fixes #7528 2018-04-06 22:42:25 +02:00
zah
121b9e26fb Static[T] fixes (#7333)
* fix the usage of unresolved static[T] parameters in proc signatures
* fix tsametype and tmacrogenerics
* Allow creating composite type classes with concepts and using them in type signatures
* Allow integers to be used in ident concatenations
* Support using imported C++ generic types in proc signatures
* fixes #7230
* closes #7379
* re-enable some metatype tests
2018-03-24 15:28:09 +01:00
Araq
b57d14b1ae make more tests green 2018-02-10 20:55:22 +01:00
Araq
ef6eda4cb4 better error messages: use <T1, T2> instead of (T1, T2) in order to prevent confusions with tuple types 2018-02-10 20:55:21 +01:00
Fabian Keller
6df6ec27ec Improved collection-to-string behavior (#6825) 2017-12-14 14:02:13 +01:00
Jacek Sieka
22684370b0 remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Zahary Karadjov
24966e006a fix #1082 2017-06-20 11:29:42 +02:00
Zahary Karadjov
36c4f0a89c close #1051 2017-06-20 11:29:42 +02:00
Zahary Karadjov
6f935598f4 close #3153 2017-06-20 11:29:42 +02:00
Zahary Karadjov
92ee2ee4ce close #4524 2017-06-20 11:29:42 +02:00
Araq
87732f797c fixes #5638 2017-04-04 12:08:34 +02:00
Araq
fa98edc78c another attempt to make test green again 2017-02-24 15:52:52 +01:00
Andreas Rumpf
f8914cc3b0 fixes a multimethod regression 2017-02-24 13:02:36 +01:00
Araq
36d3fd64da fixes #5354 2017-02-11 00:42:12 +01:00
Andreas Rumpf
54a6c5b348 fixes #5218 2017-01-16 23:04:53 +01:00
Andreas Rumpf
34dd08e9ae added missing test files 2016-08-26 14:49:57 +02:00
Andreas Rumpf
f47165af11 fixes #3706 2016-07-13 01:06:33 +02:00
Andreas Rumpf
b47d9b7b91 fixes #4371 2016-07-08 10:34:12 +02:00
Andreas Rumpf
164ebb6762 made test green 2016-01-05 10:19:36 +01:00
Araq
0d8c762452 cleanup of some tests 2015-12-01 00:53:30 +01:00
Araq
d93507fd2e fixes #3338 2015-10-22 10:24:46 +02:00
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
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Peter Mora
6da8c7857e extending metatype matching in sigmatch.nim 2015-08-21 21:15:08 +02:00
Araq
beca7ded1b fixes #3144 2015-07-26 21:07:11 +02:00
Araq
e5d8988175 fixes #3112 2015-07-14 01:37:09 +02:00
Adam Strzelecki
a8fbaf917b Tests for static class proc, methods & iterators
This currently covers #2662 & #2710 bugs.
2015-05-13 19:10:54 +02:00
Araq
65e01c8b68 make test green 2015-04-11 10:01:09 +02:00
Araq
765f274629 fixes #1783 2015-03-23 00:09:34 +01:00
Araq
0d804c2052 fixes #2266 2015-03-22 01:38:14 +01:00
Araq
bf90b9c833 fixes #2346 2015-03-16 23:02:20 +01:00
Araq
442dc30922 fixes endless recursion with static type parameters 2015-02-14 21:47:21 +01:00
Araq
e371bb3e26 fixes #1131 2015-02-10 20:19:46 +01:00
Araq
247af96b00 cleaned up some tests 2015-02-10 20:19:45 +01:00
Zahary Karadjov
13a18663d2 fix #1859 2015-01-05 03:53:31 +02:00
Zahary Karadjov
05cbbac4e5 support for static params in the user defined type classes 2015-01-02 23:58:24 +02:00
Zahary Karadjov
2f90be13e2 fix #1820 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
5b32fb1791 re-enable semistatic[T] as a test case 2015-01-02 23:58:24 +02:00
Zahary Karadjov
b21b72dc14 fix #1049 2015-01-02 23:58:24 +02:00
gmpreussner
2bd425c5b4 Fixed tusertypeclasses test 2014-12-28 19:49:03 -05:00