Skip to content

Fixed typing of Construct._build(). - #48

Merged
timrid merged 1 commit into
timrid:mainfrom
robin523790:bugfix/fixed-_build-typing
Aug 27, 2026
Merged

Fixed typing of Construct._build().#48
timrid merged 1 commit into
timrid:mainfrom
robin523790:bugfix/fixed-_build-typing

Conversation

@robin523790

Copy link
Copy Markdown

Fixed return type of Construct._build(): int was wrong and worked only in specific cases.
In most implementations, _build() actually returns ParsedType, in some others it returns BuildTypes or something else entirely.
t.Any seems a good compromise.

@timrid
timrid force-pushed the bugfix/fixed-_build-typing branch from 091c204 to 28ff69f Compare August 27, 2026 07:16
@timrid
timrid merged commit 1f61c63 into timrid:main Aug 27, 2026
11 checks passed
@timrid

timrid commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Thanks!

@robin523790
robin523790 deleted the bugfix/fixed-_build-typing branch August 27, 2026 12:33
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.

3 participants