summaryrefslogtreecommitdiff
path: root/test/files/neg/stringinterpolation_macro-neg.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8092 Refactor f-interpSom Snytt2014-02-041-0/+3
| | | | | | | | | | | | A denshish refactor makes the FormatInterpolator a nice bundle that destructures its input and flattens out the classes to give the code some elbow room. Everything shifts left. The `checkType` method is refolded and renamed `pickAcceptable`. An additional test case captures the leading edge test, that a % should follow a hole, and which is the most basic requirement.
* SI-8092 More verify for f-interpolatorSom Snytt2014-01-281-0/+42
| | | | | | | | | | | | | | Attempt to verify the nooks and crannies of the format string. Allows all syntax in the javadoc, including arg indexes. If the specifier after an arg has an index that doesn't refer to the arg, a warning is issued and the missing `%s` is prepended (just as for a part with a leading `%n`). Other enhancements include detecting that a `Formattable` wasn't supplied to `%#s`. Error messages attempt to be pithy but descriptive.
* stringinterpolation macro test filesAdriaan Moors2012-07-061-0/+31
This commit adds test files neg: checks the error messages generated by the compiler run: checks the macro implementation features