-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branches: REPL backslash commands for branches #1284
Conversation
Also fixes #1275 |
fn key(&self) -> &MigrationKey; | ||
fn parent(&self) -> anyhow::Result<&str>; | ||
fn id(&self) -> anyhow::Result<&str>; | ||
fn statements<'a>(&'a self) -> Self::StatementsIter<'a>; | ||
fn statements(&'a self) -> T; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For context of this change, see rust-lang/rust#102211 (comment) & https://edgedb.slack.com/archives/CNECHA9EW/p1712953250921689
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, this is bizzare. How'd you find the linked issue?
It doesn't seem obvious that these two problems are connected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a lot of debugging ended up the codepath in branch commands that used that trait, and some cheeki googling
Adding other branch commands is simple by adding them to the |
fn key(&self) -> &MigrationKey; | ||
fn parent(&self) -> anyhow::Result<&str>; | ||
fn id(&self) -> anyhow::Result<&str>; | ||
fn statements<'a>(&'a self) -> Self::StatementsIter<'a>; | ||
fn statements(&'a self) -> T; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, this is bizzare. How'd you find the linked issue?
It doesn't seem obvious that these two problems are connected.
Fixes #1263