Skip to content

Commit 50cf60b

Browse files
hvitvedCopilot
andcommitted
Rust: Add schema migration for parenthesis nodes
Remove obsolete parenthesized expression and pattern relations when upgrading existing databases, and document the AST change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 2e4caa1 commit 50cf60b

8 files changed

Lines changed: 15059 additions & 0 deletions

File tree

‎rust/downgrades/2b1782c73acb36c74060f9e344fc6cd841face4c/old.dbscheme‎

Lines changed: 3739 additions & 0 deletions
Large diffs are not rendered by default.

‎rust/downgrades/2b1782c73acb36c74060f9e344fc6cd841face4c/rust.dbscheme‎

Lines changed: 3768 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
description: Downgrade to a schema with parenthesized expression and pattern nodes
2+
compatibility: partial
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The Rust AST no longer exposes `ParenExpr` and `ParenPat` nodes. Parenthesized expressions and patterns are represented by their inner entities instead.

0 commit comments

Comments
 (0)