Skip to content

Commit 32fa0d8

Browse files
committed
Fix new tests after changes
1 parent 08c3e81 commit 32fa0d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/test-resources/repl/3932

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
scala> def fun[T](x: T): List[T] |=> Int = ???
2-
def fun[T](x: T): List[T] |=> Int
1+
scala> def fun[T](x: T): given List[T] => Int = ???
2+
def fun[T](x: T): given List[T] => Int

language-server/test/dotty/tools/languageserver/DiagnosticsTest.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class DiagnosticsTest {
1818

1919
@Test def diagnosticMissingLambdaBody: Unit =
2020
code"""object Test {
21-
| Nil.map(x => x).filter(x$m1 =>$m2)
22-
|$m3}""".withSource
21+
| Nil.map(x => x).filter(x$m1 =>$m2)$m3
22+
|}""".withSource
2323
.diagnostics(m1,
2424
(m2 to m3, "expression expected", Error, Some(IllegalStartSimpleExprID)),
2525
(m1 to m1, """Found: Null

0 commit comments

Comments
 (0)