aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/parsing
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-02-10 14:35:00 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-02-10 14:35:00 +0100
commit14bfa1ab9a7ce95e99f44449b56f52ec4b6439e0 (patch)
tree43a4e6eaa2f6609b08a1a55a4993244371f22d32 /compiler/test/dotty/tools/dotc/parsing
parent75bea8dccce2bc3c0e8298ee71061c9871fd26ac (diff)
downloaddotty-14bfa1ab9a7ce95e99f44449b56f52ec4b6439e0.tar.gz
dotty-14bfa1ab9a7ce95e99f44449b56f52ec4b6439e0.tar.bz2
dotty-14bfa1ab9a7ce95e99f44449b56f52ec4b6439e0.zip
Fix #1965: add proper testing infrastructure for reporting tests
Diffstat (limited to 'compiler/test/dotty/tools/dotc/parsing')
-rw-r--r--compiler/test/dotty/tools/dotc/parsing/DocstringTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/dotc/parsing/DocstringTest.scala b/compiler/test/dotty/tools/dotc/parsing/DocstringTest.scala
index 30e885f70..a67b58cc6 100644
--- a/compiler/test/dotty/tools/dotc/parsing/DocstringTest.scala
+++ b/compiler/test/dotty/tools/dotc/parsing/DocstringTest.scala
@@ -27,7 +27,7 @@ trait DocstringTest extends DottyTest {
def checkFrontend(source: String)(docAssert: PartialFunction[Tree[Untyped], Unit]) = {
checkCompile("frontend", source) { (_, ctx) =>
- implicit val c = ctx
+ implicit val c: Context = ctx
(docAssert orElse defaultAssertion)(ctx.compilationUnit.untpdTree)
}
}