summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2017-06-10 17:38:00 +0300
committerAndreas Rumpf <rumpf_a@web.de>2017-06-20 11:29:42 +0200
commit268b918150212d89c61bd16f3444f45cf4327181 (patch)
treeb4088ca8ded71a9701bab8123cc0de12182be11f
parentf0999de9dceea6a15392fe14fc1d5ea92b3bc04f (diff)
downloadNim-268b918150212d89c61bd16f3444f45cf4327181.tar.gz
Fix thardforward
-rw-r--r--tests/types/thard_tyforward.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/types/thard_tyforward.nim b/tests/types/thard_tyforward.nim
index 7131cd64b..8f606a0f9 100644
--- a/tests/types/thard_tyforward.nim
+++ b/tests/types/thard_tyforward.nim
@@ -2,8 +2,8 @@ type
   Bar[T] = Foo[T, T]
   Baz[T] = proc (x: Foo[T, T])
   
-  GenericAlias[T] = Foo[T]
-  GenericAlias2[T] = Foo[Baz[T]]
+  GenericAlias[T] = Foo[T, T]
+  GenericAlias2[T] = Foo[Baz[T], T]
   
   Concrete1 = Foo[int, float]
   Concrete2 = proc(x: proc(a: Foo[int, float]))