aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/io/ClassPath.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-19 12:32:21 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-19 12:34:36 +0100
commit7151d0fdc960e439aa71ad3e4c69e00153c0f377 (patch)
tree6997517484b8bf1c81057c7c9161827dee20eab0 /src/dotty/tools/io/ClassPath.scala
parent4d3d2d3177157c5b02f5ebc536de1b80aa37ddbb (diff)
downloaddotty-7151d0fdc960e439aa71ad3e4c69e00153c0f377.tar.gz
dotty-7151d0fdc960e439aa71ad3e4c69e00153c0f377.tar.bz2
dotty-7151d0fdc960e439aa71ad3e4c69e00153c0f377.zip
Adapt fun prototype when looking for second chance implicits (aka BigInt)
If we look for aprototype of the form select(name, FunProto(args, ...)) it's important that the result type of the FunProto type is a wildcard type, because implicit views are disabled for that match. --- this commit achieves the first bootstrap of dotty! ---
Diffstat (limited to 'src/dotty/tools/io/ClassPath.scala')
-rw-r--r--src/dotty/tools/io/ClassPath.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/io/ClassPath.scala b/src/dotty/tools/io/ClassPath.scala
index 9e44cc15c..749fae847 100644
--- a/src/dotty/tools/io/ClassPath.scala
+++ b/src/dotty/tools/io/ClassPath.scala
@@ -389,7 +389,7 @@ extends ClassPath {
}
new MergedClassPath(newEntries, context)
}
- def show() {
+ def show(): Unit = {
println("ClassPath %s has %d entries and results in:\n".format(name, entries.size))
asClasspathString split ':' foreach (x => println(" " + x))
}