diff options
author | Martin Odersky <odersky@gmail.com> | 2016-06-28 21:16:35 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-07-11 13:35:06 +0200 |
commit | 9d9965c35c4387669776f94a64fcb08fd8bf9dcf (patch) | |
tree | b0ec3c60c97563c22d0d96695debb3484f1edbe3 /scripts | |
parent | 31ecad5922c1a66d3ddd01163086eb0326299d35 (diff) | |
download | dotty-9d9965c35c4387669776f94a64fcb08fd8bf9dcf.tar.gz dotty-9d9965c35c4387669776f94a64fcb08fd8bf9dcf.tar.bz2 dotty-9d9965c35c4387669776f94a64fcb08fd8bf9dcf.zip |
Fix parameter unpickling
Parameter names always come in as term names, ahve to be explicitly
converted to type names. The previous implementation used a cast instead
of a conversion, which caused a ClassCastException. For symmetry we model
readParamNames such that it returns a List[Name] which has to be explicitly
converted to a List[TermName] or a List[TypeName], using a map.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions