From 01a44ffb3b7e8256636460df9c0ddc1dc180c7cb Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sat, 30 Sep 2023 16:45:56 +0400 Subject: [PATCH] Fix `Block::bestQuat` --- quill-engine/src/main/scala/io/getquill/ast/Ast.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quill-engine/src/main/scala/io/getquill/ast/Ast.scala b/quill-engine/src/main/scala/io/getquill/ast/Ast.scala index 9ae9a5715e..bae9edca5d 100644 --- a/quill-engine/src/main/scala/io/getquill/ast/Ast.scala +++ b/quill-engine/src/main/scala/io/getquill/ast/Ast.scala @@ -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 {