Skip to content

Commit

Permalink
v0.28.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Apr 17, 2023
1 parent 19817f6 commit c38c834
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## v0.28.3 - 2023-04-17

- Fixed a bug where the language server would show outdated error diagnostics
when a new one was emitted in a different module.
Expand Down
8 changes: 4 additions & 4 deletions 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 compiler-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gleam"
version = "0.28.2"
version = "0.28.3"
authors = ["Louis Pilfold <[email protected]>"]
edition = "2021"
license-file = "LICENCE"
Expand Down
2 changes: 1 addition & 1 deletion compiler-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gleam-core"
version = "0.28.2"
version = "0.28.3"
authors = ["Louis Pilfold <[email protected]>"]
edition = "2021"
license-file = "LICENCE"
Expand Down
7 changes: 1 addition & 6 deletions compiler-core/src/language_server/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,7 @@ where
let is_module = path.extension().map(|x| x == "gleam").unwrap_or(false);
let mut directory = path.to_path_buf();

loop {
let root = match directory.parent() {
Some(path) => path,
None => break, // Reached the root of the filesystem.
};

while let Some(root) = directory.parent() {
// If there's no gleam.toml in the root then we continue to the next parent.
if !io.is_file(&root.join("gleam.toml")) {
_ = directory.pop();
Expand Down
2 changes: 1 addition & 1 deletion compiler-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gleam-wasm"
version = "0.28.2"
version = "0.28.3"
authors = ["Louis Pilfold <[email protected]>"]
edition = "2021"
license-file = "LICENCE"
Expand Down
2 changes: 1 addition & 1 deletion test-package-compiler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-package-compiler"
version = "0.28.2"
version = "0.28.3"
authors = ["Louis Pilfold <[email protected]>"]
edition = "2021"
license-file = "LICENCE"
Expand Down

0 comments on commit c38c834

Please sign in to comment.