Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf93c18e

Browse files
committed
Fix no-patches test
The previous version failed in the "Scala-3 with Capture Checking" test.
1 parent6b61b01 commitf93c18e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎tests/neg/no-patches.check

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
| ^^^^^^^^^^^^^^^^^^^^
44
| value 3.4 is not a member of object language
55
-- [E008] Not Found Error: tests/neg/no-patches.scala:4:36 -------------------------------------------------------------
6-
4 |val _ = scala.language.experimental.captureChecking // error: we do not patch `scala.language.experimental`
7-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8-
| valuecaptureChecking is not a member of object language.experimental
6+
4 |val _ = scala.language.experimental.modularity // error: we do not patch `scala.language.experimental`
7+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8+
| valuemodularity is not a member of object language.experimental
99
-- [E008] Not Found Error: tests/neg/no-patches.scala:5:15 -------------------------------------------------------------
1010
5 |val _ = Predef.summon[DummyImplicit] // error: we do not patch `scala.Predef`
1111
| ^^^^^^^^^^^^^

‎tests/neg/no-patches.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//>usingoptions-Yno-stdlib-patches
22

33
val_= scala.language.`3.4`// error: we do not patch `scala.language`
4-
val_= scala.language.experimental.captureChecking// error: we do not patch `scala.language.experimental`
4+
val_= scala.language.experimental.modularity// error: we do not patch `scala.language.experimental`
55
val_=Predef.summon[DummyImplicit]// error: we do not patch `scala.Predef`

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp