Nim/tests/generics/tspecialised_is_equivalent.nim
2014-08-29 09:12:12 +02:00

15 lines
247 B
Nim

##
## specialised_is_equivalent Nim Module
##
## Created by Eric Doughty-Papassideris on 2011-02-16.
## Copyright (c) 2011 FWA. All rights reserved.
type
TGen[T] = tuple[a: T]
TSpef = tuple[a: string]
var
a: TGen[string]
b: TSpef
a = b