From 41657839df52d09924fe451548aa173d741990b8 Mon Sep 17 00:00:00 2001 From: Cyrill Leutwiler Date: Tue, 26 Sep 2023 13:27:45 +0200 Subject: [PATCH] Update src/sema/expression/member_access.rs Co-authored-by: Lucas Steuernagel <38472950+LucasSte@users.noreply.github.com> Signed-off-by: Cyrill Leutwiler --- src/sema/expression/member_access.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sema/expression/member_access.rs b/src/sema/expression/member_access.rs index 9f19049f7..779b3faf5 100644 --- a/src/sema/expression/member_access.rs +++ b/src/sema/expression/member_access.rs @@ -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(());