diff options
author | Paul Phillips <paulp@improving.org> | 2012-05-12 22:43:35 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-23 08:43:10 -0700 |
commit | 32ee111a0752f21f46db66cfe8dfd6afc8746aa3 (patch) | |
tree | f31f3c3a461c22a144143010cbe726db34a1be01 /test | |
parent | 402b5e4a1341ef4549b7e0979f9c5afc06f47315 (diff) | |
download | scala-32ee111a0752f21f46db66cfe8dfd6afc8746aa3.tar.gz scala-32ee111a0752f21f46db66cfe8dfd6afc8746aa3.tar.bz2 scala-32ee111a0752f21f46db66cfe8dfd6afc8746aa3.zip |
Usability improvements to Origins.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/origins.check | 2 | ||||
-rw-r--r-- | test/files/run/origins.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/origins.check b/test/files/run/origins.check index ffbf1c1f44..b12cb6e38f 100644 --- a/test/files/run/origins.check +++ b/test/files/run/origins.check @@ -1,5 +1,5 @@ ->> Origins goxbox.Socks.boop logged 65 calls from 3 distinguished sources. +>> Origins tag 'boop' logged 65 calls from 3 distinguished sources. 50 Test$$anonfun$f3$1.apply(origins.scala:16) 10 Test$$anonfun$f2$1.apply(origins.scala:15) diff --git a/test/files/run/origins.scala b/test/files/run/origins.scala index 9dc6071c7b..0ad92297f5 100644 --- a/test/files/run/origins.scala +++ b/test/files/run/origins.scala @@ -2,7 +2,7 @@ import scala.reflect.internal.util.Origins package goxbox { object Socks { - val origins = Origins[Socks.type]("boop") + val origins = Origins("boop") def boop(x: Int): Int = origins { 5 } } |