diff options
author | Martin Odersky <odersky@gmail.com> | 2013-08-01 18:21:23 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-08-01 18:21:23 +0200 |
commit | dbb4b3f7923427af4ba6e04f258309421d5ee1ab (patch) | |
tree | c8d47cbae32a0778d0bff3a22117d9d4a7c5ff7f /src/dotty/tools/dotc/core/pickling/UnPickler.scala | |
parent | 413f364887d5bde7610adbbc08020e23470b4c8c (diff) | |
download | dotty-dbb4b3f7923427af4ba6e04f258309421d5ee1ab.tar.gz dotty-dbb4b3f7923427af4ba6e04f258309421d5ee1ab.tar.bz2 dotty-dbb4b3f7923427af4ba6e04f258309421d5ee1ab.zip |
Handling typevars in inference.
Fleshed out handling of typevars for type inference. Also added some more methods to typer, for blocks, ifs and assignments. (Closures are still wip).
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/UnPickler.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/UnPickler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/UnPickler.scala b/src/dotty/tools/dotc/core/pickling/UnPickler.scala index a488e0e18..4c96c5e4b 100644 --- a/src/dotty/tools/dotc/core/pickling/UnPickler.scala +++ b/src/dotty/tools/dotc/core/pickling/UnPickler.scala @@ -596,7 +596,7 @@ class UnPickler(bytes: Array[Byte], classRoot: ClassDenotation, moduleClassRoot: else ThisType(cls) case SINGLEtpe => val pre = readTypeRef() - val sym = readDisambiguatedSymbolRef(_.isParameterless) + val sym = readDisambiguatedSymbolRef(_.info.isParameterless) if (isLocal(sym) || (pre == NoPrefix)) TermRef.withSym(pre, sym.asTerm) else TermRef.withSig(pre, sym.name.asTermName, NotAMethod) case SUPERtpe => |