I see. My comprehension ATM is, that you want to concatenate two or more strings at compile time, but this works fine: immutable string test = "abc" ~ "def"; Because of that it would be greatly helped if you can give me a concrete example.