diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-07-29 10:59:44 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-07-29 10:59:44 -0700 |
commit | 59e21f37cb80215ada0db60363fb9f30adf6a0cd (patch) | |
tree | 15bcc34aca26fe97aafd447fcec0df3f2a5e51c4 /test/files/neg/t6231.check | |
parent | 20cd9474f0a22950c905badb81fb6eeebdf00b34 (diff) | |
parent | 4d6be05c28c95dcd26922059d773a8bfed6014ef (diff) | |
download | scala-59e21f37cb80215ada0db60363fb9f30adf6a0cd.tar.gz scala-59e21f37cb80215ada0db60363fb9f30adf6a0cd.tar.bz2 scala-59e21f37cb80215ada0db60363fb9f30adf6a0cd.zip |
Merge pull request #2746 from soc/topic/paulp-typer-debug-output
Improve type printing (toString/debugging)
Diffstat (limited to 'test/files/neg/t6231.check')
-rw-r--r-- | test/files/neg/t6231.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t6231.check b/test/files/neg/t6231.check index b27961d393..2428bf66d0 100644 --- a/test/files/neg/t6231.check +++ b/test/files/neg/t6231.check @@ -1,6 +1,6 @@ t6231.scala:4: error: Implementation restriction: local trait Bug$X$1 is unable to automatically capture the -free variable value ev$1 on behalf of anonymous class anonfun$qux$1. You can manually assign it to a val inside the trait, -and refer that that val in anonymous class anonfun$qux$1. For more details, see SI-6231. +free variable value ev$1 on behalf of <$anon: Function0>. You can manually assign it to a val inside the trait, +and refer that that val in <$anon: Function0>. For more details, see SI-6231. def qux = { () => ev } ^ one error found |