Skip to content
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

feat(core): add state mutability computation from world param #2049

Merged
merged 5 commits into from
Jun 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: address missing review comment
  • Loading branch information
glihm committed Jun 13, 2024
commit f055f75a4043ee6590db44baab6e53bb03820e34
4 changes: 1 addition & 3 deletions crates/dojo-lang/src/syntax/world_param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ pub fn parse_world_injection(
param_list.elements(db).iter().enumerate().for_each(|(idx, param)| {
let (name, modifiers, param_type) = syntax_utils::get_parameter_info(db, param.clone());

let is_world = is_world_param(&name, &param_type);

if !is_world {
if !is_world_param(&name, &param_type) {
return;
}

Expand Down
Loading