Increment versions
This commit is contained in:
parent
2a6aceb052
commit
57b5a5cce4
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -78,7 +78,7 @@ checksum = "53a49587ad06b26609c52e423de037e7f57f20d53535d66e08c695f347df952a"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reid"
|
name = "reid"
|
||||||
version = "0.1.0"
|
version = "1.0.0-beta.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"colored",
|
"colored",
|
||||||
"reid-lib",
|
"reid-lib",
|
||||||
@ -87,7 +87,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reid-lib"
|
name = "reid-lib"
|
||||||
version = "0.1.0"
|
version = "1.0.0-beta.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"llvm-sys",
|
"llvm-sys",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reid-lib"
|
name = "reid-lib"
|
||||||
version = "0.1.0"
|
version = "1.0.0-beta.1"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "reid"
|
name = "reid"
|
||||||
version = "0.1.0"
|
version = "1.0.0-beta.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
@ -14,6 +14,6 @@ color = ["colored"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
## Make it easier to generate errors
|
## Make it easier to generate errors
|
||||||
thiserror = "1.0.44"
|
thiserror = "1.0.44"
|
||||||
reid-lib = { path = "../reid-llvm-lib", version = "0.1.0" }
|
reid-lib = { path = "../reid-llvm-lib", version = "1.0.0-beta.1", registry="gitea-teascade" }
|
||||||
|
|
||||||
colored = {version = "3.0.0", optional = true}
|
colored = {version = "3.0.0", optional = true}
|
@ -209,7 +209,7 @@ impl TypeKind {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn unroll_borrows(&self) -> TypeKind {
|
pub fn unroll_borrow(&self) -> TypeKind {
|
||||||
match self {
|
match self {
|
||||||
TypeKind::Borrow(type_kind, mut1) => match *type_kind.clone() {
|
TypeKind::Borrow(type_kind, mut1) => match *type_kind.clone() {
|
||||||
TypeKind::Borrow(type_kind, mut2) => match (mut1, mut2) {
|
TypeKind::Borrow(type_kind, mut2) => match (mut1, mut2) {
|
||||||
|
@ -614,7 +614,7 @@ impl Expression {
|
|||||||
|
|
||||||
if let TypeKind::Borrow(inner, _) = type_kind {
|
if let TypeKind::Borrow(inner, _) = type_kind {
|
||||||
if let TypeKind::Borrow(..) = *inner.clone() {
|
if let TypeKind::Borrow(..) = *inner.clone() {
|
||||||
*type_kind = type_kind.unroll_borrows();
|
*type_kind = type_kind.unroll_borrow();
|
||||||
let ExprKind::Borrow(val, _) = &first_param.0 else {
|
let ExprKind::Borrow(val, _) = &first_param.0 else {
|
||||||
panic!()
|
panic!()
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user