fixes #1444
This commit is contained in:
parent
c9563d28a8
commit
09ab1703e1
6 changed files with 30 additions and 13 deletions
|
|
@ -6,3 +6,11 @@ type MyObj = object
|
|||
proc foo*(b: any) =
|
||||
var o: MyObj
|
||||
echo b.baz, " ", o.x.baz, " ", b.baz()
|
||||
|
||||
import sets
|
||||
|
||||
var intset = initSet[int]()
|
||||
|
||||
proc func*[T](a: T) =
|
||||
if a in intset: echo("true")
|
||||
else: echo("false")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue