Skip to content

Commit b322951

Browse files
Make compiletime.testing.Error final
Co-Authored-By: Jamie Thompson <bishbashboshjt@gmail.com>
1 parent a094367 commit b322951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/compiletime/testing/Error.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ package scala.compiletime.testing
99
* version to version. This API is to be used for testing purposes
1010
* only.
1111
*/
12-
case class Error(message: String, lineContent: String, column: Int, kind: ErrorKind)
12+
final case class Error(message: String, lineContent: String, column: Int, kind: ErrorKind)
1313

1414
/** An error can be either a parse-time or a typecheck-time */
1515
sealed trait ErrorKind // TODO make this enum, so far not doable because ScalaJS compilation fails on it

0 commit comments

Comments
 (0)