Skip to content

Commit

Permalink
Merge pull request #1 from cartridge-gg/fix/tests
Browse files Browse the repository at this point in the history
fix: work on tests
  • Loading branch information
glihm authored Dec 17, 2023
2 parents de6d303 + 96e34eb commit d3a96f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cainome"
version = "0.1.0"
version = "0.1.4"
edition = "2021"

[workspace]
Expand Down
2 changes: 1 addition & 1 deletion crates/parser/src/tokens/composite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Composite {
}

pub fn apply_alias(&mut self, type_path: &str, alias: &str) {
if self.type_path.starts_with(type_path) {
if self.type_path_no_generic() == type_path {
self.alias = Some(alias.to_string());
}

Expand Down

0 comments on commit d3a96f1

Please sign in to comment.