Skip to content

Support class method type registration and checking#32

Merged
dak2 merged 1 commit intomainfrom
class-method-support
Feb 23, 2026
Merged

Support class method type registration and checking#32
dak2 merged 1 commit intomainfrom
class-method-support

Conversation

@dak2
Copy link
Owner

@dak2 dak2 commented Feb 23, 2026

Class methods defined with def self.foo were silently ignored during type checking because they were registered as instance methods instead of singleton methods. This caused false negatives where type errors on class method return values went undetected.

Class methods defined with `def self.foo` were silently ignored during
type checking because they were registered as instance methods instead
of singleton methods. This caused false negatives where type errors
on class method return values went undetected.
@dak2 dak2 force-pushed the class-method-support branch from 2d8deee to edd2e69 Compare February 23, 2026 01:24
@dak2 dak2 merged commit 2461796 into main Feb 23, 2026
2 checks passed
@dak2 dak2 deleted the class-method-support branch February 23, 2026 02:20
@dak2 dak2 mentioned this pull request Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant