romanb commented on code in PR #1791:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1791#discussion_r2029938472


##########
src/ast/spans.rs:
##########
@@ -739,19 +740,12 @@ impl Spanned for CreateIndex {
 impl Spanned for CaseStatement {
     fn span(&self) -> Span {
         let CaseStatement {
-            match_expr,
-            when_blocks,
-            else_block,
-            has_end_case: _,
+            case_token: AttachedToken(start),
+            end_case_token: AttachedToken(end),
+            ..

Review Comment:
   Sounds good, I did that! Thanks again for the review.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to