Skip to content

Commit aff743e

Browse files
committed
update check files
1 parent a00a242 commit aff743e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: tests/neg/unroll-abstractMethod.check

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
-- [E207] Declaration Error: tests/neg/unroll-abstractMethod.scala:6:41 ------------------------------------------------
22
6 | def foo(s: String, n: Int = 1, @unroll b: Boolean = true): String // error
33
| ^
4-
| Cannot unroll parameters of method foo: it is not effectively final
4+
| Cannot unroll parameters of method foo because it can be overridden
55
-- [E207] Declaration Error: tests/neg/unroll-abstractMethod.scala:10:41 -----------------------------------------------
66
10 | def foo(s: String, n: Int = 1, @unroll b: Boolean = true): String // error
77
| ^
8-
| Cannot unroll parameters of method foo: it is not effectively final
8+
| Cannot unroll parameters of method foo because it can be overridden

Diff for: tests/neg/unroll-illegal3.check

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
-- [E207] Declaration Error: tests/neg/unroll-illegal3.scala:12:29 -----------------------------------------------------
66
12 | def foo(s: String, @unroll y: Boolean) = s + y // error
77
| ^
8-
| Cannot unroll parameters of method foo: it is not effectively final
8+
| Cannot unroll parameters of method foo because it can be overridden
99
-- [E207] Declaration Error: tests/neg/unroll-illegal3.scala:16:29 -----------------------------------------------------
1010
16 | def foo(s: String, @unroll y: Boolean): String // error
1111
| ^
12-
| Cannot unroll parameters of method foo: it is not effectively final
12+
| Cannot unroll parameters of method foo because it can be overridden

0 commit comments

Comments
 (0)