Skip to content

Commit

Permalink
LS: Fix corelib test diagnostic with proc macro server off by default (
Browse files Browse the repository at this point in the history
…#6770)

Co-authored-by: Marek Kaput <[email protected]>
  • Loading branch information
piotmag769 and mkaput authored Nov 29, 2024
1 parent f3c98f7 commit bdf36b3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions crates/cairo-lang-language-server/src/lang/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use cairo_lang_semantic::inline_macros::get_default_plugin_suite;
use cairo_lang_semantic::plugin::PluginSuite;
use cairo_lang_starknet::starknet_plugin_suite;
use cairo_lang_syntax::node::db::{SyntaxDatabase, SyntaxGroup};
use cairo_lang_test_plugin::test_assert_suite;
use cairo_lang_test_plugin::test_plugin_suite;
use cairo_lang_utils::Upcast;

pub use self::semantic::*;
Expand Down Expand Up @@ -59,9 +59,10 @@ impl AnalysisDatabase {
let plugin_suite = [
get_default_plugin_suite(),
starknet_plugin_suite(),
// TODO(#6551): Restore this.
// test_plugin_suite()
test_assert_suite(),
// TODO(#6551): Test plugin should be only enabled for crates that indeed need it.
// Same for other plugins.
// Right now this code will conflict with procmacros.
test_plugin_suite(),
]
.into_iter()
.chain(tricks.extra_plugin_suites.iter().flat_map(|f| f()))
Expand Down

0 comments on commit bdf36b3

Please sign in to comment.