Skip to content

Commit

Permalink
Fix Block::bestQuat (#2896)
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii authored Oct 2, 2023
1 parent 0a2896c commit a986635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quill-engine/src/main/scala/io/getquill/ast/Ast.scala
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ case class Block(statements: List[Ast]) extends Ast {
private lazy val computedQuat = statements.last.quat
def quat = computedQuat
private lazy val bestComputedQuat = statements.last.bestQuat
def bestQuat = computedQuat
def bestQuat = bestComputedQuat
} // Note. Assuming Block is not Empty

case class Val(name: Ident, body: Ast) extends Ast {
Expand Down

0 comments on commit a986635

Please sign in to comment.