summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorSébastien Doeraene <sjrdoeraene@gmail.com>2016-04-13 14:55:02 +0200
committerSébastien Doeraene <sjrdoeraene@gmail.com>2016-04-13 16:20:46 +0200
commit8fc0516d6deeb84af9bac5370f1d21511e0f86d6 (patch)
tree74ee8fdc85c8c7fc8e8e21b954a34e8781044475 /src/compiler
parent51996c8474a06656f8c21302af2b4151bdc2393e (diff)
downloadscala-8fc0516d6deeb84af9bac5370f1d21511e0f86d6.tar.gz
scala-8fc0516d6deeb84af9bac5370f1d21511e0f86d6.tar.bz2
scala-8fc0516d6deeb84af9bac5370f1d21511e0f86d6.zip
Inline ScalaRunTime.arrayElementClass at call sites.
This method was awful. Not only it was using run-time type tests to essentially encode compile-time overloading. But it also did 2 slightly different things for the Class case and ClassTag case. All in all, it is much more readable to inline the appropriate implementation at every call site.
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions