diff options
author | Som Snytt <som.snytt@gmail.com> | 2017-02-15 10:33:28 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2017-02-15 15:17:01 -0800 |
commit | 6fb382501f7a63f3227a18396a2af0c862e6ab1c (patch) | |
tree | 51ca8422a68a13537f1ce9b2b7a182de6f266fec /test/files/jvm/interpreter.check | |
parent | 05d5338ff4ee3ffe5ef1c0e33faa1a29480be2b0 (diff) | |
download | scala-6fb382501f7a63f3227a18396a2af0c862e6ab1c.tar.gz scala-6fb382501f7a63f3227a18396a2af0c862e6ab1c.tar.bz2 scala-6fb382501f7a63f3227a18396a2af0c862e6ab1c.zip |
SI-10190 Elide string to empty instead of null
Avoid NPE when eliding string-valued functions.
For example, `log(s"$cheap$expensive")` needn't print null.
This is a natural and inexpensive way to elide strings.
Diffstat (limited to 'test/files/jvm/interpreter.check')
0 files changed, 0 insertions, 0 deletions