You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [spec] Improve string literal docs
Link to lex StringLiteral rather than repeating grammar.
Move semantic sentences about string literals being read-only to
expression.dd.
Mention string literal can convert to an lvalue (as already shown in the
example).
Show literal arguments in example.
Document that the null byte can be used to match a static array when
necessary.
* Document that StringPostfix disables implicit conversions
Part of Issue 6032 - wstring literals cannot be implicitly converted to const(wchar)*
* Move EscapeSequence and StringPostfix to their headings
* Literal can convert to static array rvalue of longer length
Null-termination is not relevant.
Also remove slicing from example, documented elsewhere.
0 commit comments