From 032599c156260a0892522b6ce858b1cdff08df84 Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 25 Mar 2011 00:47:03 +0100 Subject: bugfix: type converter that converts to bool in 'if' context --- tests/accept/compile/tcan_alias_specialised_generic.nim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/accept/compile/tcan_alias_specialised_generic.nim (limited to 'tests/accept/compile/tcan_alias_specialised_generic.nim') diff --git a/tests/accept/compile/tcan_alias_specialised_generic.nim b/tests/accept/compile/tcan_alias_specialised_generic.nim new file mode 100644 index 000000000..9e93e7266 --- /dev/null +++ b/tests/accept/compile/tcan_alias_specialised_generic.nim @@ -0,0 +1,11 @@ +## +## can_alias_specialised_generic Nimrod Module +## +## Created by Eric Doughty-Papassideris on 2011-02-16. +## Copyright (c) 2011 FWA. All rights reserved. + +type + TGen[T] = object + TSpef = TGen[string] + + -- cgit 1.4.1-2-gfad0