diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-07-25 17:51:49 +0200 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-07-25 17:51:49 +0200 |
commit | 01f2d279e84fda300176e83ee94c17c08ad1dc3f (patch) | |
tree | 248318de312a6ecd8ba82b059ea9b647cc70e4e1 /src | |
parent | d1941eae27ec2955f5227a84661c4b41c528d32f (diff) | |
parent | 0f5580efb1d30b95513121bc499ba5187330f601 (diff) | |
download | scala-01f2d279e84fda300176e83ee94c17c08ad1dc3f.tar.gz scala-01f2d279e84fda300176e83ee94c17c08ad1dc3f.tar.bz2 scala-01f2d279e84fda300176e83ee94c17c08ad1dc3f.zip |
Merge pull request #3890 from dhgarrette/2.11.x
Remove "throws InvalidEscapeException" from StringContext.raw doc
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/StringContext.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/library/scala/StringContext.scala b/src/library/scala/StringContext.scala index c0468e8b02..fe69c6fbf8 100644 --- a/src/library/scala/StringContext.scala +++ b/src/library/scala/StringContext.scala @@ -104,7 +104,7 @@ case class StringContext(parts: String*) { * ''Note:'' Even when using the raw interpolator, Scala will preprocess unicode escapes. * For example: * {{{ - * scala> raw"\u005cu0025" + * scala> raw"\u005cu0023" * res0: String = # * }}} * @@ -112,8 +112,6 @@ case class StringContext(parts: String*) { * @throws An `IllegalArgumentException` * if the number of `parts` in the enclosing `StringContext` does not exceed * the number of arguments `arg` by exactly 1. - * @throws A `StringContext.InvalidEscapeException` if a `parts` string contains a backslash (`\`) character - * that does not start a valid escape sequence. */ def raw(args: Any*): String = standardInterpolator(identity, args) |