Commit graph

12 commits

Author SHA1 Message Date
cooldome
9455a0c3e3
close #11142 (#15847) 2020-11-05 14:51:45 +01:00
cooldome
4c19c5dfae
fix static[Slice[T]] as argument issue (#15842) 2020-11-04 19:52:53 +01:00
Timothee Cour
7939319379 fix is with generic types; fix genericHead(Foo[T]) (#13303)
* fix #9855, fix #9855, fix genericHead
* render TTypeKind via toHumanStr
2020-02-09 13:48:55 +01:00
LemonBoy
4808ef72db [WIP] Early evaluation of mIs (#8723)
* Early evaluation of mIs

The `evalIs` implementation was just a broken copy of `isOpImpl` so
let's just avoid it alltogether: `mIs` nodes are either resolved during
the semantic phase or bust.

* Remove dead code and tidy it up
2018-10-14 08:53:41 +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
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Andreas Rumpf
92e80e68bd make tests green again 2015-12-01 21:22:23 +01:00
Araq
e55f5d1fd4 fixes #2505, fixes #1853, fixes #2522 2015-04-20 21:25:49 +02: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
Zahary Karadjov
ee1b0d8c67 fix #587 2014-03-06 23:25:04 +02:00
Zahary Karadjov
249dd70273 test cases for the new handling of iterators by the is operator 2014-03-06 23:03:02 +02:00
Araq
20b5f31c03 new tester; all tests categorized 2014-01-13 02:10:03 +01:00
Renamed from tests/run/tisopr.nim (Browse further)