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()), }