fixes #2760
This commit is contained in:
parent
fe091997aa
commit
f8e805a614
2 changed files with 11 additions and 1 deletions
|
|
@ -75,3 +75,13 @@ block tconsts:
|
|||
|
||||
type MyBoolArr = distinct array[3, bool]
|
||||
const barr:MyBoolArr = MyBoolArr([true, false, true])
|
||||
|
||||
# bug #2760
|
||||
|
||||
type
|
||||
DistTup = distinct tuple
|
||||
foo, bar: string
|
||||
|
||||
const d: DistTup = DistTup((
|
||||
foo:"FOO", bar:"BAR"
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue