Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(typecheck): also replace longer type defaults#541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
juleswritescode merged 21 commits intomainfromfeat/longer-type-replacements
Oct 3, 2025

Conversation

@juleswritescode
Copy link
Collaborator

@juleswritescodejuleswritescode commentedSep 27, 2025
edited
Loading

Before, we would only show type errors if the length of the default-type-value was <= than the length of the param-name it belonged to.

Now we have an API that tracks positions in text replacements even if they grow the original text, so we can show such errors:

Screenshot 2025-09-27 at 14 26 07

psteinroe reacted with rocket emoji
Comment on lines -335 to +322
// all values of the enums are longer than `NULL`, so we use `NULL` instead
"select 0 + 0 + 0 + 0 + 0 + NULL "
"select 0 + 0 + 0 + 0 + 0 + 'critical'"
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

not sure if the change fromNULL to'critical' is desired?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

yes, makes sense after your change

Copy link
Collaborator

@psteinroepsteinroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Beautiful!

Comment on lines -335 to +322
// all values of the enums are longer than `NULL`, so we use `NULL` instead
"select 0 + 0 + 0 + 0 + 0 + NULL "
"select 0 + 0 + 0 + 0 + 0 + 'critical'"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

yes, makes sense after your change

@juleswritescodejuleswritescodeenabled auto-merge (squash)October 3, 2025 08:33
@juleswritescodejuleswritescode merged commitfcd4720 intomainOct 3, 2025
8 checks passed
@juleswritescodejuleswritescode deleted the feat/longer-type-replacements branchOctober 28, 2025 15:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@psteinroepsteinroeAwaiting requested review from psteinroe

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@juleswritescode@psteinroe

[8]ページ先頭

©2009-2025 Movatter.jp