Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Jan 2, 2025
1 parent 3759e68 commit 701b38d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration/failure/fatal-error/resources/build.mill
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import mill._
def fatalTask = Task{
// Needs to be a fatal error according to scala.util.control.NonFatal,
// not just any error!
throw new java.lang.LinkageError("CUSTOM FATAL ERROR IN TASK")
val ex = new java.lang.LinkageError("CUSTOM FATAL ERROR IN TASK")
assert(scala.util.control.NonFatal.apply(ex))
throw ex
123
}

Expand Down

0 comments on commit 701b38d

Please sign in to comment.