diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-02-10 14:35:00 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-02-10 14:35:00 +0100 |
commit | 14bfa1ab9a7ce95e99f44449b56f52ec4b6439e0 (patch) | |
tree | 43a4e6eaa2f6609b08a1a55a4993244371f22d32 /compiler/test/dotty/tools/dotc/parsing/DocstringTest.scala | |
parent | 75bea8dccce2bc3c0e8298ee71061c9871fd26ac (diff) | |
download | dotty-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/DocstringTest.scala')
-rw-r--r-- | compiler/test/dotty/tools/dotc/parsing/DocstringTest.scala | 2 |
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) } } |