Skip to content

Improve "self" errors a bit #54369

Closed
Closed
@GuillaumeGomez

Description

@GuillaumeGomez

Currently it looks like this:

let self = process_queue.self();
    ^^^^ `self` value is only available in methods with `self` parameter

Rewording a bit like "self value is a keyword only available in methods with self parameter" would read a bit better and would be more explicit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions