From 32ee111a0752f21f46db66cfe8dfd6afc8746aa3 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 12 May 2012 22:43:35 -0700 Subject: Usability improvements to Origins. --- test/files/run/origins.check | 2 +- test/files/run/origins.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/run') 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 } } -- cgit v1.2.3