Skip to content

Conversation

@dangotbanned
Copy link
Member

Related issues

If you have comments or can explain your changes, please do so below

A bare ClassVar gets inferred as:

snake_case: ClassVar = PascalCase
snake_case: ClassVar[type[PascalCase]] = PascalCase

A bare [`ClassVar`](https://typing.python.org/en/latest/spec/class-compat.html#classvar) gets inferred as:

```py
snake_case: ClassVar = PascalCase
snake_case: ClassVar[type[PascalCase]] = PascalCase
```
@dangotbanned dangotbanned changed the title refactor(expr-ir): Option-less accessor functions -> aliases refactor(expr-ir): Simple accessor functions -> constructor aliases Sep 2, 2025
@dangotbanned dangotbanned marked this pull request as ready for review September 2, 2025 21:55
@dangotbanned dangotbanned merged commit 958c99a into expr-ir/shrink-main Sep 2, 2025
23 of 32 checks passed
@dangotbanned dangotbanned deleted the expr-ir/optionless-ns-alias branch September 2, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants