Skip to content

Commit

Permalink
Update src/sema/expression/member_access.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Steuernagel <[email protected]>
Signed-off-by: Cyrill Leutwiler <[email protected]>
  • Loading branch information
xermicus and LucasSte authored Sep 26, 2023
1 parent 74fc653 commit 4165783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sema/expression/member_access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ pub(super) fn member_access(
if !is_this {
diagnostics.push(Diagnostic::error(
expr.loc(),
"polkadot can only retrieve balance of this, like 'address(this).balance'"
"polkadot can only retrieve balance of 'this', like 'address(this).balance'"
.to_string(),
));
return Err(());
Expand Down

0 comments on commit 4165783

Please sign in to comment.