summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorTodd Vierling <tv@duh.org>2014-05-09 13:09:49 -0400
committerTodd Vierling <tv@duh.org>2014-05-09 13:14:48 -0400
commitbed189ec8c373dfd429d424256dfbfcc17ac4221 (patch)
tree68a380815061ccf346fa18a892301f53c5272c7e /test/files/run
parent251616a107f4255203e318c9f6342f774d25e66d (diff)
downloadscala-bed189ec8c373dfd429d424256dfbfcc17ac4221.tar.gz
scala-bed189ec8c373dfd429d424256dfbfcc17ac4221.tar.bz2
scala-bed189ec8c373dfd429d424256dfbfcc17ac4221.zip
@inline Predef.identity[A].
Since identity[A] is often used as a function directly supplied to methods requiring (A)=>A, there's no need to have the generated Function1 object contain an explicit call to identity[A](). This implementation isn't going to change, so let the synthetic Function1 elide the extra call, generating just "aload_1; areturn".
Diffstat (limited to 'test/files/run')
0 files changed, 0 insertions, 0 deletions