Araq
fcbe611899
make some tests green again
2018-11-04 13:16:21 +01:00
Ian
801c102881
#9348 Merge some small test files ( #9561 )
...
* Consolidated types issue tests
* Consolidated vm issue tests
(cherry picked from commit 5ddeead29c )
2018-11-01 18:03:51 +01:00
jcosborn
42056874d1
added test for #4674 ( #9438 )
...
(cherry picked from commit 3b1ade0350 )
2018-11-01 17:51:51 +01:00
Andreas Rumpf
9364369c1f
make tests green again
2018-09-24 16:00:57 +02:00
Ganesh Viswanathan
9b2115558b
Test cases for #6969 #7346 #7581
2018-09-12 12:00:01 -05:00
Araq
420ed0596b
fixes more nil handling regressions
2018-08-13 17:27:44 +02:00
LemonBoy
7f148838a4
Reject ptr/ref void types ( #8127 )
...
Do this during the semantic pass to avoid tripping the following passes.
Fixes #6454
2018-06-27 21:41:40 +02:00
Andreas Rumpf
2a3a128e36
Merge branch 'devel' into typedesc-reforms
2018-06-26 18:33:51 +02:00
LemonBoy
e39baf46fc
Don't blow up with recursive objects
2018-06-22 19:47:44 +02:00
LemonBoy
af66258dca
Discriminate gensym'd type names in sigHash
...
The root cause of #7905 lies in the codegen phase. The two template
instantiations generate two different MyType types with different
members but same t.sym.name leading the caching mechanism to confuse
the two.
Fixes #7905
2018-06-22 13:09:33 +02: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
Araq
02b78d3f94
make tests green again
2018-05-14 21:38:18 +02:00
Fabian Keller
6df6ec27ec
Improved collection-to-string behavior ( #6825 )
2017-12-14 14:02:13 +01:00
andri lim
b174e9f42a
fixes #5521 object variants superclass trigger bad codegen ( #6120 )
2017-11-19 13:12:26 +01:00
Andreas Rumpf
a9ac241691
fixes #6073
2017-11-18 22:13:46 +01:00
Andreas Rumpf
6cb8bf8045
fixes bug reported in PR #5637
2017-10-30 09:19:02 +01:00
andri lim
57edf619fe
fixes #6016 union alias trigger bad codegen ( #6117 )
...
* fixes #6016 union alias trigger bad codegen
* cpp test ok
* merging some test into one file
2017-08-03 11:03:47 +02:00
Arne Döring
000b8afd26
Remove expr/stmt ( #5857 )
2017-07-25 09:28:23 +02:00
Fabian Keller
62ffac25dc
added test case for #1252
2017-06-20 11:53:32 +02:00
Zahary Karadjov
268b918150
Fix thardforward
2017-06-20 11:29:42 +02:00
Araq
c8cec27c0a
file mode change
2017-05-17 22:13:47 +02:00
Zahary Karadjov
fceef77301
test case for #5640
2017-04-07 21:57:04 +03:00
Zahary Karadjov
0b7321651e
fix #5658
2017-04-07 21:53:27 +03:00
Zahary Karadjov
eb635d9ccf
fix #5648
2017-04-07 17:03:49 +03:00
andri lim
70237e1fdd
fix taliasinequality test case ( #5587 )
2017-03-22 08:40:15 +01:00
andri lim
e99721a593
fixes #5360 , fixes #5238 ( #5539 ); fixes type alias inequality for types coming from templates/macros
2017-03-16 08:04:36 +01:00
andri lim
ebb15505dd
fixes #5231 inheriting from partial specialized generic object ( #5538 )
2017-03-15 07:59:34 +01:00
andri lim
0ff1190fe7
fixes #5264 ( #5520 ); inheriting from generic object
2017-03-14 21:40:09 +01:00
Matthew Baulch
d05e146b30
Recursively check literals for tyEmpty.
2016-07-11 19:12:05 +10:00
Andreas Rumpf
c870e831c8
fixes #4124
2016-04-29 20:56:30 +02:00
def
c50b5b62ef
Fix a few deprecation warnings
2016-01-25 19:10:37 +01:00
Andreas Rumpf
0d4e52c648
makes tests green
2016-01-15 14:44:54 +01:00
Andreas Rumpf
92e80e68bd
make tests green again
2015-12-01 21:22:23 +01:00
Araq
0d8c762452
cleanup of some tests
2015-12-01 00:53:30 +01: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
Araq
26eae7d00e
fixes #2470 , fixes #1354
2015-04-28 20:21:53 +02:00
Araq
e55f5d1fd4
fixes #2505 , fixes #1853 , fixes #2522
2015-04-20 21:25:49 +02:00
def
669db4216e
Add test case for infinite recursion in semtypes
2015-03-14 22:46:17 +01:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
c44d947ac5
'auto' can be inferred to be 'void'
2015-02-13 01:21:54 +01:00
Araq
3a8f7d505b
temptyseqs works again
2015-02-10 20:19:45 +01:00
Zahary Karadjov
13e07f5d66
bugfix: don't treat generic types with different static params as the same type
2014-12-31 04:20:32 +02:00
Araq
f73938218e
fixes #1708 , fixes #871
2014-12-28 01:59:30 +01:00
Araq
c0cc62c6b1
tuple field names are ignored
2014-12-23 17:54:22 +01:00
Araq
3866820eee
made some tests green
2014-09-21 23:57:54 +02:00
Araq
30823c1ce3
make tests green
2014-08-31 15:15:26 +02:00
Araq
c6034277fc
further adaptations
2014-08-29 09:12:12 +02:00
Dominik Picheta
2fb5d62927
Tester now appreciates the test target. Modified 'cmd' in specs.
2014-04-16 21:28:19 +01:00
Zahary Karadjov
ee1b0d8c67
fix #587
2014-03-06 23:25:04 +02:00