diff options
author | Araq <rumpf_a@web.de> | 2011-03-25 00:47:03 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-03-25 00:47:03 +0100 |
commit | 032599c156260a0892522b6ce858b1cdff08df84 (patch) | |
tree | 582c86f5e7a23595e1253af47133be3c4764da1f /tests/accept/compile/tcan_alias_specialised_generic.nim | |
parent | 220dd54acfd5527c7c569811013b178fc462898e (diff) | |
download | Nim-032599c156260a0892522b6ce858b1cdff08df84.tar.gz |
bugfix: type converter that converts to bool in 'if' context
Diffstat (limited to 'tests/accept/compile/tcan_alias_specialised_generic.nim')
-rw-r--r-- | tests/accept/compile/tcan_alias_specialised_generic.nim | 11 |
1 files changed, 11 insertions, 0 deletions
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] + + |