diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-04-15 22:21:14 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-04-15 22:25:13 +1000 |
commit | 4ff3abbe950c0bd703298d7808e1de38894ddac7 (patch) | |
tree | 617a429238d02a13f658d58182a419d17133b398 /Gemfile | |
parent | 029cce77bd72cd8255c6dee08a227796cdb158b1 (diff) | |
download | scala-4ff3abbe950c0bd703298d7808e1de38894ddac7.tar.gz scala-4ff3abbe950c0bd703298d7808e1de38894ddac7.tar.bz2 scala-4ff3abbe950c0bd703298d7808e1de38894ddac7.zip |
SI-9273 Avoid unpositioned error for bare classOf
A bare identifier `classOf` in a position wth an expected type of
`Class[_]` was leading to an unpositioned error.
This is due to special treatment of bare `classOf` in `typedIdent`
creating an ephemeral, but unpositioned, `TypeTree`.
This commit positions that tree and tests that the error is
issued at a sensible position.
There is still an irregularity between `classOf` and `Predef.classOf`,
but that seems esoteric enough to leave alone for now.
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions