summaryrefslogtreecommitdiff
path: root/test/files/neg/t7325.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-7544 Interpolation message for %% literalSom Snytt2013-08-061-5/+5
| | | | | | | | | | | The new error text: "conversions must follow a splice; use %% for literal %, %n for newline". The error is emitted when % is not at the start of a part; only the non-conversions %% and %n are allowed. It would be nice if it were convenient to parse the part to see what the user may have intended, but c'est l'erreur.
* SI-7325 cleans up corner cases of percent handling in StringContext.fEugene Burmako2013-05-041-0/+19
See comments in code for the exhaustive list of the cases handled. Also note that treatment of non-formatting percents has been changed. Embedding literal %'s now requires escaping. Moreover, this commit also features exact error positions for string interpolation, something that has been impossible until the fix for SI-7271, also included in this patch.