Nim/tests/generics/tspecialised_is_equivalent.nim
2014-01-13 02:10:03 +01:00

15 lines
250 B
Nim

##
## specialised_is_equivalent Nimrod 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