Skip to content

Commit

Permalink
ShapeAPI peek & interrupt also returns this
Browse files Browse the repository at this point in the history
  • Loading branch information
peng committed Apr 22, 2021
1 parent ed04d93 commit b227b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/org/shapesafe/core/shape/ShapeAPI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ trait ShapeAPI extends VectorOps with MatrixOps {
final def peek(
implicit
reporter: ShapeReporters.PeekShape.Case[_Shape]
): Unit = {}
): this.type = this

final def interrupt(
implicit
reporter: ShapeReporters.InterruptShape.Case[_Shape]
): Unit = {}
): this.type = this

/**
* assign new names
Expand Down

0 comments on commit b227b82

Please sign in to comment.