Skip to content

Suggest correct names for fields etc #268

@ndmitchell

Description

@ndmitchell

Describe the Bug

Given:

long_variable_name = 1
y = long_variuble_name

We produce the error:

ERROR 2:5-23: Could not find name `long_variuble_name` [[unknown-name](https://pyrefly.org/en/docs/error-kinds/#unknown-name)]

We should suggest using long_variable_name. Starlark already does this.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions