From 169f61144b986c5db1f5a7cd53bcfc38ed277d82 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 22 Apr 2024 20:52:12 -0500 Subject: [PATCH] cl-ast: Fix typo in ast_impl::convert impl From> for PathPart --- compiler/cl-ast/src/ast_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cl-ast/src/ast_impl.rs b/compiler/cl-ast/src/ast_impl.rs index 5eca237..1c8b89e 100644 --- a/compiler/cl-ast/src/ast_impl.rs +++ b/compiler/cl-ast/src/ast_impl.rs @@ -679,7 +679,7 @@ mod convert { impl> From for PathPart { fn from(value: T) -> Self { match value.as_ref() { - "Self" => PathPart::SelfKw, + "self" => PathPart::SelfKw, "super" => PathPart::SuperKw, ident => PathPart::Ident(ident.into()), }