Skip to content

Commit

Permalink
close nim-lang#12704 by adding a test
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Mar 5, 2020
1 parent cb0f7c5 commit eed4acf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/tuples/ttuples_issues.nim
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,18 @@ block t1986:
(var1: test(), var2: 100'u32),
(var1: test(), var2: 192'u32)
]

block t12704:
const a = $("a", "b")
proc fun() =
const str = $int
let b = $(str, "asdf")
fun()

import std/typetraits
block t12704_bis:
const a = $("a", "b")
proc fun() =
const str = name(int)
let b = $(str, "asdf")
fun()

0 comments on commit eed4acf

Please sign in to comment.