# $ interpolation into :()

**URL:** https://discourse.julialang.org/t/interpolation-into/27806
**Category:** Internals & Design
**Tags:** question
**Created:** [August 21, 2019, 3:25pm UTC](https://discourse.julialang.org/t/interpolation-into/27806 "2019-08-21T15:25:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)
#### Post date: [August 21, 2019, 3:56pm UTC](https://discourse.julialang.org/t/interpolation-into/27806/2 "2019-08-21T15:56:49Z")

</div>

The problem here is that `:()` doesn’t quite work that way and `:($(keys(nt)[1]))` is equivalent to `keys(nt)[1]` after parsing. For more discussion on this behavior see also this thread:

[https://discourse.julialang.org/t/any-rational-behind-symbol-true-true/27597](https://discourse.julialang.org/t/any-rational-behind-symbol-true-true/27597)

The solution here would be to just call `getproperty` directly.

---

_[View the full topic](https://discourse.julialang.org/t/interpolation-into/27806)._
