summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2016-10-26 17:12:36 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2016-10-27 10:39:51 +0200
commitbde2854588eea4e3199fc97e0af92a8b35ce1705 (patch)
treef4764af5811cbdb6cf8310ec8b63f7a04fc9858c /.travis.yml
parent4e3ffd4bf00ab71ef64c31a45d5c3e2838aa78ee (diff)
downloadscala-bde2854588eea4e3199fc97e0af92a8b35ce1705.tar.gz
scala-bde2854588eea4e3199fc97e0af92a8b35ce1705.tar.bz2
scala-bde2854588eea4e3199fc97e0af92a8b35ce1705.zip
Clean up lookup class by name in the classfile parser
There was a piece of logic essentially duplicating getClassByName in Mirrors (split up a fully qualified class name by ".", look up pieces). That piece of code was added in 0ce0ad5 to fix one example in SI-2464. However, since 020053c (2012, 2.10) that code was broken: the line ss = name.subName(0, start) should be ss = name.subName(start, name.length).toTypeName As a result, the code would always create a stub symbol. Returning a stub seems to be the right thing to do anyway, and the fact that we were doing so during two major releases is a good proof.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions