The documentation states that escape sequences such as \n in string literals are replaced with the corresponding characters. In fact, this doesn't happen. For example, Message("a\nb"); should print a and b on separate lines, but it actually prints a\nb.
Thanks for filing! I think that #458 was filed first (originally on qsharp-runtime - just transferred it over here). Let's keep tracking this bug in issue #458.
The documentation states that escape sequences such as
\n
in string literals are replaced with the corresponding characters. In fact, this doesn't happen. For example,Message("a\nb");
should printa
andb
on separate lines, but it actually printsa\nb
.