File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11-- [E207] Declaration Error: tests/neg/unroll-abstractMethod.scala:6:41 ------------------------------------------------
226 | 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 -----------------------------------------------
6610 | 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
Original file line number Diff line number Diff line change 55-- [E207] Declaration Error: tests/neg/unroll-illegal3.scala:12:29 -----------------------------------------------------
6612 | 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 -----------------------------------------------------
101016 | 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
You can’t perform that action at this time.
0 commit comments