From a9866355cd418e72745a1571f09c77ee9416c238 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Mon, 2 Oct 2023 09:24:52 +0400 Subject: [PATCH] Fix `Block::bestQuat` (#2896) --- 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 {